diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 07:35:01 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-08-11 07:35:01 +0200 |
commit | d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8 (patch) | |
tree | 6e30f138b2ca1cdc015a30205063b8c18cbc8cb0 /src/control/Script.cpp | |
parent | Add sprite to the waypoint marker (diff) | |
download | re3-d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8.tar re3-d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8.tar.gz re3-d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8.tar.bz2 re3-d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8.tar.lz re3-d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8.tar.xz re3-d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8.tar.zst re3-d7a28c4d2b80a82646f15b4fdbce7a26aeb2eaa8.zip |
Diffstat (limited to 'src/control/Script.cpp')
-rw-r--r-- | src/control/Script.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/control/Script.cpp b/src/control/Script.cpp index 0e403c49..5b5825eb 100644 --- a/src/control/Script.cpp +++ b/src/control/Script.cpp @@ -3073,7 +3073,7 @@ int8 CRunningScript::ProcessCommands200To299(int32 command) CTheScripts::ReadTextLabelFromScript(&m_nIp, label); int zoneToCheck = CTheZones::FindZoneByLabelAndReturnIndex(label, ZONE_DEFAULT); if (zoneToCheck != -1) - m_nIp += KEY_LENGTH_IN_SCRIPT; /* why only if zone != 1? */ + m_nIp += KEY_LENGTH_IN_SCRIPT; /* why only if zone != -1? */ CVector pos = pPlayer->GetPos(); CZone* pZone = CTheZones::GetNavigationZone(zoneToCheck); UpdateCompareFlag(CTheZones::PointLiesWithinZone(&pos, pZone)); |