summaryrefslogtreecommitdiffstats
path: root/src/control/Script3.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2021-01-13 14:01:49 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2021-01-13 14:01:49 +0100
commit3e198086e31c3f1b0269b5c53c0811b2fc575497 (patch)
tree4f9b0730f31472adde559940e25d42e104a9d98d /src/control/Script3.cpp
parentsync with lcs-dev (diff)
downloadre3-3e198086e31c3f1b0269b5c53c0811b2fc575497.tar
re3-3e198086e31c3f1b0269b5c53c0811b2fc575497.tar.gz
re3-3e198086e31c3f1b0269b5c53c0811b2fc575497.tar.bz2
re3-3e198086e31c3f1b0269b5c53c0811b2fc575497.tar.lz
re3-3e198086e31c3f1b0269b5c53c0811b2fc575497.tar.xz
re3-3e198086e31c3f1b0269b5c53c0811b2fc575497.tar.zst
re3-3e198086e31c3f1b0269b5c53c0811b2fc575497.zip
Diffstat (limited to 'src/control/Script3.cpp')
-rw-r--r--src/control/Script3.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/control/Script3.cpp b/src/control/Script3.cpp
index 88df935f..9d8cc352 100644
--- a/src/control/Script3.cpp
+++ b/src/control/Script3.cpp
@@ -1740,8 +1740,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 +1758,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: