diff options
author | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 18:32:03 +0100 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2021-01-20 18:32:03 +0100 |
commit | cc94419a7281fde133a5dc17c46cc62ae061a58c (patch) | |
tree | 300a1e3c7d68e1fe32a3ba4491608bf18a1435b2 /src/entities/Entity.cpp | |
parent | free cam inversion fix (diff) | |
parent | Get rid of bitfields in CPool (diff) | |
download | re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.gz re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.bz2 re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.lz re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.xz re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.tar.zst re3-cc94419a7281fde133a5dc17c46cc62ae061a58c.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; |