diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 14:03:37 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-17 14:03:37 +0100 |
commit | 4703ec5164acd169f4ce315a0f035bc6ab554f0b (patch) | |
tree | dfe39174e824f5dd4055b86ea3df845f434e134d /src/control/Script3.cpp | |
parent | Merge remote-tracking branch 'upstream/lcs' into lcs (diff) | |
download | re3-4703ec5164acd169f4ce315a0f035bc6ab554f0b.tar re3-4703ec5164acd169f4ce315a0f035bc6ab554f0b.tar.gz re3-4703ec5164acd169f4ce315a0f035bc6ab554f0b.tar.bz2 re3-4703ec5164acd169f4ce315a0f035bc6ab554f0b.tar.lz re3-4703ec5164acd169f4ce315a0f035bc6ab554f0b.tar.xz re3-4703ec5164acd169f4ce315a0f035bc6ab554f0b.tar.zst re3-4703ec5164acd169f4ce315a0f035bc6ab554f0b.zip |
Diffstat (limited to 'src/control/Script3.cpp')
-rw-r--r-- | src/control/Script3.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp index 88df935f..1bb4f12c 100644 --- a/src/control/Script3.cpp +++ b/src/control/Script3.cpp @@ -36,6 +36,8 @@ #include "GameLogic.h" #include "Bike.h" +// LCS: file done except TODOs + int8 CRunningScript::ProcessCommands500To599(int32 command) { switch (command) { @@ -1740,8 +1742,10 @@ int8 CRunningScript::ProcessCommands700To799(int32 command) UpdateCompareFlag(pPed->bIsShooting && pPed->IsWithinArea(x1, y1, x2, y2)); if (GET_INTEGER_PARAM(5)) CTheScripts::HighlightImportantArea((uintptr)this + m_nIp, x1, y1, x2, y2, MAP_Z_LOW_LIMIT); + /* if (CTheScripts::DbgFlag) CTheScripts::DrawDebugSquare(x1, y1, x2, y2); + */ return 0; } case COMMAND_IS_CHAR_SHOOTING_IN_AREA: @@ -1756,8 +1760,10 @@ int8 CRunningScript::ProcessCommands700To799(int32 command) UpdateCompareFlag(pPed->bIsShooting && pPed->IsWithinArea(x1, y1, x2, y2)); if (GET_INTEGER_PARAM(5)) CTheScripts::HighlightImportantArea((uintptr)this + m_nIp, x1, y1, x2, y2, MAP_Z_LOW_LIMIT); + /* if (CTheScripts::DbgFlag) CTheScripts::DrawDebugSquare(x1, y1, x2, y2); + */ return 0; } case COMMAND_IS_CURRENT_PLAYER_WEAPON: |