Changeset 10 for trunk/GameServer.pas


Ignore:
Timestamp:
Jan 7, 2017, 2:33:20 PM (8 years ago)
Author:
chronos
Message:
  • Modified: Created CevoComponents ackage for installable custom components.
  • Fixed: Compile time range check error.
  • Added: Heaptrace check and fixed some memory leaks.
  • Fixed: MaskD function.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GameServer.pas

    r9 r10  
    15441544  MaskD(ObserveLevel, MapSize, not Cardinal(3 shl (2 * pTurn)));
    15451545  if Mode > moLoading_Fast then
    1546     MaskD(RW[pTurn].Map^, MapSize, not Cardinal(fUnit or fHiddenUnit or
     1546    MaskD(RW[pTurn].Map^, MapSize, Cardinal(not Cardinal(fUnit or fHiddenUnit or
    15471547      fStealthUnit or fObserved or fSpiedOut or fOwned or fOwnZoCUnit or
    1548       fInEnemyZoC));
     1548      fInEnemyZoC)));
    15491549  RW[pTurn].nEnemyUn := 0;
    15501550
     
    19951995      MaskD(ObserveLevel, MapSize, not Cardinal(3 shl (2 * pTurn)));
    19961996      if Mode > moLoading_Fast then
    1997         MaskD(RW[pTurn].Map^, MapSize, not Cardinal(fUnit or fHiddenUnit or
     1997        MaskD(RW[pTurn].Map^, MapSize, Cardinal(not Cardinal(fUnit or fHiddenUnit or
    19981998          fStealthUnit or fObserved or fSpiedOut or fOwned or fOwnZoCUnit or
    1999           fInEnemyZoC));
     1999          fInEnemyZoC)));
    20002000      RW[pTurn].nEnemyUn := 0;
    20012001      DiscoverViewAreas(pTurn);
Note: See TracChangeset for help on using the changeset viewer.