diff options
| author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-29 19:36:44 +0300 |
|---|---|---|
| committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-08-29 19:36:44 +0300 |
| commit | 8593fff48b78df7067f90ed57596855e32b91f54 (patch) | |
| tree | 4fc9fe5888b0eceaaa012f21eff9c2da84b9d864 /src/control/Script5.cpp | |
| parent | Audio: fixing bugs, fixing types, making code more accurate to original (diff) | |
| download | re3-8593fff48b78df7067f90ed57596855e32b91f54.tar.gz | |
fix PS2 script
Diffstat (limited to '')
| -rw-r--r-- | src/control/Script5.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/control/Script5.cpp b/src/control/Script5.cpp index 76aa2442..837e3582 100644 --- a/src/control/Script5.cpp +++ b/src/control/Script5.cpp @@ -582,6 +582,7 @@ void CRunningScript::LocateCharCarCommand(int32 command, uint32* pIp) } } +#if GTA_VERSION > GTA3_PS2_160 void CRunningScript::LocateCharObjectCommand(int32 command, uint32* pIp) { bool b3D, result, debug; @@ -659,6 +660,7 @@ void CRunningScript::LocateCharObjectCommand(int32 command, uint32* pIp) CTheScripts::DrawDebugSquare(X - dX, Y - dY, X + dX, Y + dY); } } +#endif void CRunningScript::LocateCarCommand(int32 command, uint32* pIp) { |
