diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-18 20:06:59 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-18 20:06:59 +0100 |
commit | 91093305d65305722e380c0087c71469363a8396 (patch) | |
tree | b589257deee2ecccf0617601da97c82fbb8385f5 /src/entities | |
parent | sync milessdk with re3mss (diff) | |
download | re3-91093305d65305722e380c0087c71469363a8396.tar re3-91093305d65305722e380c0087c71469363a8396.tar.gz re3-91093305d65305722e380c0087c71469363a8396.tar.bz2 re3-91093305d65305722e380c0087c71469363a8396.tar.lz re3-91093305d65305722e380c0087c71469363a8396.tar.xz re3-91093305d65305722e380c0087c71469363a8396.tar.zst re3-91093305d65305722e380c0087c71469363a8396.zip |
Diffstat (limited to '')
-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 709f91c1..4885d631 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -407,7 +407,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; |