diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-30 01:46:28 +0200 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-30 01:46:28 +0200 |
commit | a1c241af37c31ea94e908eb719f80e6421f8b73d (patch) | |
tree | 5ee1b15dce454aee038ac0da7e9ab611f32bee9e /src/control/Script9.cpp | |
parent | merge (diff) | |
download | re3-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/Script9.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/control/Script9.cpp b/src/control/Script9.cpp index f5b964ad..875aa96b 100644 --- a/src/control/Script9.cpp +++ b/src/control/Script9.cpp @@ -594,13 +594,18 @@ int8 CRunningScript::ProcessCommands1500To1599(int32 command) // base::cWorldGeom::GetInstance()->StoreBuildingSwap(GET_INTEGER_PARAM(0), GET_INTEGER_PARAM(1), GET_INTEGER_PARAM(2), GET_INTEGER_PARAM(3) != 0); return 0; case COMMAND_IS_MULTIPLAYER_ACTIVE: - UpdateCompareFlag(false); // TODO? +#ifdef GTA_NETWORK + UpdateCompareFlag(gIsMultiplayerGame); +#else + UpdateCompareFlag(false); +#endif return 0; case COMMAND_GET_MULTIPLAYER_MODE: SET_INTEGER_PARAM(0, 0); // TODO StoreParameters(&m_nIp, 1); return 0; case COMMAND_MULTIPLAYER_SCRIPT_DONE: + printf("COMMAND_MULTIPLAYER_SCRIPT_DONE\n"); //gbStartingScriptsFromLua = false; TODO? return 0; case COMMAND_IS_MULTIPLAYER_SERVER: |