diff options
author | Nikolay <nickvnuk@gmail.com> | 2021-08-31 22:16:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-31 22:16:52 +0200 |
commit | 9bd80324d1ff3f221304a7dde98358d9895926c2 (patch) | |
tree | 7f2b08583a71f159faa69b4254b54e4fac55174c /src/control/Script9.cpp | |
parent | Bridge sound done (diff) | |
parent | fix compile (diff) | |
download | re3-9bd80324d1ff3f221304a7dde98358d9895926c2.tar re3-9bd80324d1ff3f221304a7dde98358d9895926c2.tar.gz re3-9bd80324d1ff3f221304a7dde98358d9895926c2.tar.bz2 re3-9bd80324d1ff3f221304a7dde98358d9895926c2.tar.lz re3-9bd80324d1ff3f221304a7dde98358d9895926c2.tar.xz re3-9bd80324d1ff3f221304a7dde98358d9895926c2.tar.zst re3-9bd80324d1ff3f221304a7dde98358d9895926c2.zip |
Diffstat (limited to 'src/control/Script9.cpp')
-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: |