main window and many fixes
This commit is contained in:
1 parent
80c329a697
commit
69700f8b65
18 files changed
+3280
-95
No files matched your search
@@ -98,8 +98,8 @@ int CEVO_ABI_CALL server(int command, int player, int subject, void *data)
|
||||
command == sGetEnemyCityAreaInfo || command == sGetCityReportNew || (command & 0xFF0F) == sGetChart ||
|
||||
(command & 0xFF0F) == sSetAttitude) && // commands always allowed
|
||||
!(player == pTurn && command < 0x1000) && // info request always allowed for pTurn
|
||||
!((pDipActive < 0 && player != pTurn) || (pDipActive >= 0 && player != pDipActive) ||
|
||||
(pDipActive >= 0 && (command & sctMask) != sctEndClient))) { // no nego command
|
||||
((pDipActive < 0 && player != pTurn) || (pDipActive >= 0 && player != pDipActive) ||
|
||||
(pDipActive >= 0 && (command & sctMask) != sctEndClient))) { // no nego command
|
||||
putMessage((1 << 16) + 1, QStringLiteral("No Turn: %1 calls %2").arg(player).arg(command >> 4, 0, 16));
|
||||
return eNoTurn;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user