summaryrefslogtreecommitdiffstats
path: root/src/control/Script10.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-08-30 01:46:28 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2021-08-30 01:46:28 +0200
commita1c241af37c31ea94e908eb719f80e6421f8b73d (patch)
tree5ee1b15dce454aee038ac0da7e9ab611f32bee9e /src/control/Script10.cpp
parentmerge (diff)
downloadre3-a1c241af37c31ea94e908eb719f80e6421f8b73d.tar
re3-a1c241af37c31ea94e908eb719f80e6421f8b73d.tar.gz
re3-a1c241af37c31ea94e908eb719f80e6421f8b73d.tar.bz2
re3-a1c241af37c31ea94e908eb719f80e6421f8b73d.tar.lz
re3-a1c241af37c31ea94e908eb719f80e6421f8b73d.tar.xz
re3-a1c241af37c31ea94e908eb719f80e6421f8b73d.tar.zst
re3-a1c241af37c31ea94e908eb719f80e6421f8b73d.zip
Diffstat (limited to '')
-rw-r--r--src/control/Script10.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Script10.cpp b/src/control/Script10.cpp
index b6489843..ed1a9264 100644
--- a/src/control/Script10.cpp
+++ b/src/control/Script10.cpp
@@ -104,7 +104,11 @@ int8 CRunningScript::ProcessCommands1600To1699(int32 command)
return 0;
}
case COMMAND_IS_DEVELOPER:
+#ifdef GTA_NETWORK
+ UpdateCompareFlag(gDeveloperFlag || gIsMultiplayerGame);
+#else
UpdateCompareFlag(gDeveloperFlag);
+#endif
return 0;
case COMMAND_SET_DEVELOPER_FLAG:
CollectParameters(&m_nIp, 1);