summaryrefslogtreecommitdiffstats
path: root/src/weapons/CProjectileInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/weapons/CProjectileInfo.cpp')
-rw-r--r--src/weapons/CProjectileInfo.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/weapons/CProjectileInfo.cpp b/src/weapons/CProjectileInfo.cpp
new file mode 100644
index 00000000..f3c78ed8
--- /dev/null
+++ b/src/weapons/CProjectileInfo.cpp
@@ -0,0 +1,10 @@
+#include "CProjectileInfo.h"
+
+CProjectileInfo *gaProjectileInfo = (CProjectileInfo *)0x64ED50;
+CProjectileInfo *CProjectileInfo::ms_apProjectile = (CProjectileInfo *)0x87C748;
+
+CProjectileInfo *
+CProjectileInfo::GetProjectileInfo(int32 id)
+{
+ return &gaProjectileInfo[id];
+}