Skip to content

Commit b1f7f8b

Browse files
committed
Modify comments
1 parent 90ddb0c commit b1f7f8b

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

Generals/Code/GameEngine/Source/Common/MessageStream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -991,7 +991,7 @@ Bool isInvalidDebugCommand( GameMessage::Type t )
991991
case GameMessage::MSG_META_DEMO_INSTANT_BUILD:
992992
case GameMessage::MSG_META_DEMO_FREE_BUILD:
993993
case GameMessage::MSG_META_DEMO_GIVE_ALL_SCIENCES:
994-
// Usable in multiplayer!
994+
// TheSuperHackers @tweak Debug cheats are now multiplayer compatible. Happy cheating Munkees :)
995995
return false;
996996

997997
case GameMessage::MSG_META_DEMO_INSTANT_QUIT:

Generals/Code/GameEngine/Source/GameClient/MessageStream/CommandXlat.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4178,7 +4178,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
41784178
case GameMessage::MSG_META_DEMO_REMOVE_PREREQ:
41794179
{
41804180
// Doesn't make a valid network message
4181-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4181+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
41824182
Bool enable = !ThePlayerList->getLocalPlayer()->ignoresPrereqs();
41834183

41844184
for (Int n = 0; n < ThePlayerList->getPlayerCount(); ++n)
@@ -4202,7 +4202,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
42024202
case GameMessage::MSG_META_DEMO_INSTANT_BUILD:
42034203
{
42044204
// Doesn't make a valid network message
4205-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4205+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
42064206
if (!TheGameLogic->isInMultiplayerGame() || !hasThingsInProduction(PLAYER_HUMAN))
42074207
{
42084208
Bool enable = !ThePlayerList->getLocalPlayer()->buildsInstantly();
@@ -4229,7 +4229,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
42294229
case GameMessage::MSG_META_DEMO_FREE_BUILD:
42304230
{
42314231
// Doesn't make a valid network message
4232-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4232+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
42334233
Bool enable = !ThePlayerList->getLocalPlayer()->buildsForFree();
42344234

42354235
for (Int n = 0; n < ThePlayerList->getPlayerCount(); ++n)
@@ -4435,7 +4435,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
44354435
//-----------------------------------------------------------------------------------------
44364436
case GameMessage::MSG_META_DEMO_GIVE_ALL_SCIENCES:
44374437
{
4438-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4438+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
44394439
for (Int n = 0; n < ThePlayerList->getPlayerCount(); ++n)
44404440
{
44414441
Player* player = ThePlayerList->getNthPlayer(n);

GeneralsMD/Code/GameEngine/Source/Common/MessageStream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1023,7 +1023,7 @@ Bool isInvalidDebugCommand( GameMessage::Type t )
10231023
case GameMessage::MSG_META_DEMO_INSTANT_BUILD:
10241024
case GameMessage::MSG_META_DEMO_FREE_BUILD:
10251025
case GameMessage::MSG_META_DEMO_GIVE_ALL_SCIENCES:
1026-
// Usable in multiplayer!
1026+
// TheSuperHackers @tweak Debug cheats are now multiplayer compatible. Happy cheating Munkees :)
10271027
return false;
10281028

10291029
case GameMessage::MSG_META_DEMO_SWITCH_TEAMS:

GeneralsMD/Code/GameEngine/Source/GameClient/MessageStream/CommandXlat.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4576,7 +4576,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
45764576
case GameMessage::MSG_META_DEMO_REMOVE_PREREQ:
45774577
{
45784578
// Doesn't make a valid network message
4579-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4579+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
45804580
Bool enable = !ThePlayerList->getLocalPlayer()->ignoresPrereqs();
45814581

45824582
for (Int n = 0; n < ThePlayerList->getPlayerCount(); ++n)
@@ -4600,7 +4600,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
46004600
case GameMessage::MSG_META_DEMO_INSTANT_BUILD:
46014601
{
46024602
// Doesn't make a valid network message
4603-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4603+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
46044604
if (!TheGameLogic->isInMultiplayerGame() || !hasThingsInProduction(PLAYER_HUMAN))
46054605
{
46064606
Bool enable = !ThePlayerList->getLocalPlayer()->buildsInstantly();
@@ -4627,7 +4627,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
46274627
case GameMessage::MSG_META_DEMO_FREE_BUILD:
46284628
{
46294629
// Doesn't make a valid network message
4630-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4630+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
46314631
Bool enable = !ThePlayerList->getLocalPlayer()->buildsForFree();
46324632

46334633
for (Int n = 0; n < ThePlayerList->getPlayerCount(); ++n)
@@ -4851,7 +4851,7 @@ GameMessageDisposition CommandTranslator::translateGameMessage(const GameMessage
48514851
//-----------------------------------------------------------------------------------------
48524852
case GameMessage::MSG_META_DEMO_GIVE_ALL_SCIENCES:
48534853
{
4854-
// In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
4854+
// TheSuperHackers @info In multiplayer, all clients need to enable this cheat at the same time, otherwise game will mismatch
48554855
for (Int n = 0; n < ThePlayerList->getPlayerCount(); ++n)
48564856
{
48574857
Player* player = ThePlayerList->getNthPlayer(n);

0 commit comments

Comments
 (0)