summaryrefslogtreecommitdiffstats
path: root/src/control/Script3.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-17 14:03:37 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-17 14:03:37 +0100
commit4703ec5164acd169f4ce315a0f035bc6ab554f0b (patch)
treedfe39174e824f5dd4055b86ea3df845f434e134d /src/control/Script3.cpp
parentMerge remote-tracking branch 'upstream/lcs' into lcs (diff)
downloadre3-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.cpp6
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: