Changeset 550 for trunk/GameServer.pas
- Timestamp:
- Apr 22, 2024, 10:17:01 PM (7 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GameServer.pas
r549 r550 2738 2738 2739 2739 if (1 shl Player and (GAlive or GWatching) = 0) and 2740 not ((Command = sTurn) or (Command = sBreak) or (Command = sResign) or2740 not ((Command = sTurn) or (Command = sBreak) or (Command = sResign) or 2741 2741 (Command = sGetAIInfo) or (Command = sGetAICredits) or 2742 2742 (Command = sGetVersion) or (Command and $FF0F = sGetChart)) then … … 2750 2750 2751 2751 // check if command allowed now 2752 if (Mode = moPlaying) and not ((Command >= cClientEx) or (Command = sMessage)2752 if (Mode = moPlaying) and not ((Command >= cClientEx) or (Command = sMessage) 2753 2753 or (Command = sSetDebugMap) or (Command = sGetDebugMap) or 2754 2754 (Command = sGetAIInfo) or (Command = sGetAICredits) or … … 2760 2760 (Command and $FF0F = sGetChart) or (Command and $FF0F = sSetAttitude)) 2761 2761 // commands always allowed 2762 and not ((Player = pTurn) and (Command < $1000))2762 and not ((Player = pTurn) and (Command < $1000)) 2763 2763 // info request always allowed for pTurn 2764 2764 and ((pDipActive < 0) and (Player <> pTurn) // not his turn … … 3870 3870 if 1 shl Domain and Feature[Subject].Domains = 0 then 3871 3871 Result := eDomainMismatch 3872 else if not ((Feature[Subject].Preq = preNone) or3872 else if not ((Feature[Subject].Preq = preNone) or 3873 3873 (Feature[Subject].Preq = preSun) and 3874 3874 (GWonder[woSun].EffectiveOwner = Player) or … … 4200 4200 Result := eInvalid 4201 4201 else if (NewProject and cpConscripts <> 0) and 4202 not ((RW[Player].Tech[adConscription] >= tsApplicable) and4202 not ((RW[Player].Tech[adConscription] >= tsApplicable) and 4203 4203 (RW[Player].Model[NewProject and cpIndex].Domain = dGround) 4204 4204 and (RW[Player].Model[NewProject and cpIndex].Kind < mkScout))
Note:
See TracChangeset
for help on using the changeset viewer.