summaryrefslogtreecommitdiffstats
path: root/src/weapons
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/weapons/BulletInfo.cpp5
-rw-r--r--src/weapons/BulletInfo.h7
2 files changed, 12 insertions, 0 deletions
diff --git a/src/weapons/BulletInfo.cpp b/src/weapons/BulletInfo.cpp
new file mode 100644
index 00000000..54fa6844
--- /dev/null
+++ b/src/weapons/BulletInfo.cpp
@@ -0,0 +1,5 @@
+#include "common.h"
+#include "patcher.h"
+#include "BulletInfo.h"
+
+WRAPPER bool CBulletInfo::TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2) { EAXJMP(0x558D40); }
diff --git a/src/weapons/BulletInfo.h b/src/weapons/BulletInfo.h
new file mode 100644
index 00000000..3905b56d
--- /dev/null
+++ b/src/weapons/BulletInfo.h
@@ -0,0 +1,7 @@
+#pragma once
+
+class CBulletInfo
+{
+public:
+ static bool TestForSniperBullet(float x1, float x2, float y1, float y2, float z1, float z2);
+}; \ No newline at end of file