Changeset 319 for trunk/GameServer.pas


Ignore:
Timestamp:
Mar 19, 2021, 3:31:53 PM (4 years ago)
Author:
chronos
Message:
  • Modified: Optimized drawing of Wonders window.
  • Modified: Used named constants for Wonders CitiID special cases.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GameServer.pas

    r290 r319  
    42184218                  result := eInvalid
    42194219                else if (NewProject and cpIndex < 28) and
    4220                   (GWonder[NewProject and cpIndex].CityID <> -1) then
     4220                  (GWonder[NewProject and cpIndex].CityID <> WonderNotBuiltYet) then
    42214221                  result := eViolation // wonder already exists
    42224222                else if (NewProject and cpIndex = imSpacePort) and
Note: See TracChangeset for help on using the changeset viewer.