summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2021-01-20 17:59:33 +0100
committerGitHub <noreply@github.com>2021-01-20 17:59:33 +0100
commit9b193a47a22d99ac89a4bec584d40ae41f971286 (patch)
treebadff7d74ddadf1de18aeb7473cdfc05a175da72 /src/entities
parentMerge branch 'master' of github.com:GTAmodding/re3 (diff)
parentGet rid of VuVector (diff)
downloadre3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.gz
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.bz2
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.lz
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.xz
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.tar.zst
re3-9b193a47a22d99ac89a4bec584d40ae41f971286.zip
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/Entity.cpp6
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;