diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 17:59:33 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 18:20:11 +0100 |
commit | 3b52b683e309a6d8f6f25d29ec5f703984ab2458 (patch) | |
tree | 81fb955754110e5dda1d84fde2e95dc26cafe3b3 /src/entities/Entity.cpp | |
parent | free cam inversion fix (diff) | |
download | re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.gz re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.bz2 re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.lz re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.xz re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.tar.zst re3-3b52b683e309a6d8f6f25d29ec5f703984ab2458.zip |
Diffstat (limited to 'src/entities/Entity.cpp')
-rw-r--r-- | src/entities/Entity.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 862d2562..9a849218 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -447,7 +447,11 @@ CEntity::GetIsOnScreen(void) bool CEntity::GetIsOnScreenComplex(void) { - RwV3d boundBox[8]; +#ifdef GTA_PS2 + CVuVector boundBox[8]; +#else + CVector boundBox[8]; +#endif if(TheCamera.IsPointVisible(GetBoundCentre(), &TheCamera.GetCameraMatrix())) return true; |