diff options
author | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-20 19:14:12 +0100 |
---|---|---|
committer | Nikolay Korolev <nickvnuk@gmail.com> | 2021-01-20 19:14:12 +0100 |
commit | 23831e38e632073c9d1fc5ff073b1568c02e33b8 (patch) | |
tree | e2386110918e4424e26d33a8a9c9d0e9ea46fa2c /src/entities/Entity.cpp | |
parent | Merge branch 'lcs-dev' into lcs (diff) | |
parent | Merge branch 'miami' into lcs (diff) | |
download | re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.gz re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.bz2 re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.lz re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.xz re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.tar.zst re3-23831e38e632073c9d1fc5ff073b1568c02e33b8.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 921da7df..f7175acd 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -448,7 +448,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; |