[CF-Devel] cfclient, fixed parse_game_button_press()

crossfire-devel at archives.real-time.com crossfire-devel at archives.real-time.com
Sun Oct 26 23:25:36 CST 2003


Jochen Suckfuell wrote:
>
     
      Hi!
     
     >
     
     
     >
     
      The parse_game_button_press() function in x11/x11.c didn't take the
     
     >
     
      configured mapsize into account, but calculated the direction relative
     
     >
     
      to the player position in the default sized map.
     
     >
     
      Besides this, I cleaned up the code a bit, so I can as well paste the
     
     >
     
      whole function here instead of a patch:
     
     
  Thanks for the patch.  but it made more sense to me just to copy the logic 
from the gtk version - they were both originally derived from the same code, and 
keeping them similar means that if additional changes in that area come in the 
future, easier to update both of them again.



_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list