summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-01-01 00:35:54 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-01-01 00:35:54 +0100
commit80453d3f4ddc13f8458e14353c318a69cfe10518 (patch)
tree6d3dd1729a0270c971ba840a5400a586e9f1a290 /src/weapons
parentMerge remote-tracking branch 'upstream/master' into script_dev (diff)
downloadre3-80453d3f4ddc13f8458e14353c318a69cfe10518.tar
re3-80453d3f4ddc13f8458e14353c318a69cfe10518.tar.gz
re3-80453d3f4ddc13f8458e14353c318a69cfe10518.tar.bz2
re3-80453d3f4ddc13f8458e14353c318a69cfe10518.tar.lz
re3-80453d3f4ddc13f8458e14353c318a69cfe10518.tar.xz
re3-80453d3f4ddc13f8458e14353c318a69cfe10518.tar.zst
re3-80453d3f4ddc13f8458e14353c318a69cfe10518.zip
Diffstat (limited to 'src/weapons')
-rw-r--r--src/weapons/ProjectileInfo.cpp3
-rw-r--r--src/weapons/ProjectileInfo.h1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/weapons/ProjectileInfo.cpp b/src/weapons/ProjectileInfo.cpp
index 50d75516..a915504d 100644
--- a/src/weapons/ProjectileInfo.cpp
+++ b/src/weapons/ProjectileInfo.cpp
@@ -4,4 +4,5 @@
#include "Projectile.h"
-WRAPPER bool CProjectileInfo::RemoveIfThisIsAProjectile(CObject *pObject) { EAXJMP(0x55BBD0); } \ No newline at end of file
+WRAPPER bool CProjectileInfo::RemoveIfThisIsAProjectile(CObject *pObject) { EAXJMP(0x55BBD0); }
+WRAPPER bool CProjectileInfo::IsProjectileInRange(float x1, float x2, float y1, float y2, float z1, float z2, bool remove) { EAXJMP(0x55BA50); }
diff --git a/src/weapons/ProjectileInfo.h b/src/weapons/ProjectileInfo.h
index f4753b28..06ead482 100644
--- a/src/weapons/ProjectileInfo.h
+++ b/src/weapons/ProjectileInfo.h
@@ -6,4 +6,5 @@ class CProjectileInfo
{
public:
static bool RemoveIfThisIsAProjectile(CObject *pObject);
+ static bool IsProjectileInRange(float x1, float x2, float y1, float y2, float z1, float z2, bool remove);
}; \ No newline at end of file