summaryrefslogtreecommitdiffstats
path: root/src/control
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/control/HandlingMgr.cpp (renamed from src/control/HandlingDataMgr.cpp)2
-rw-r--r--src/control/HandlingMgr.h (renamed from src/control/HandlingDataMgr.h)1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/control/HandlingDataMgr.cpp b/src/control/HandlingMgr.cpp
index 48000b48..47d0564c 100644
--- a/src/control/HandlingDataMgr.cpp
+++ b/src/control/HandlingMgr.cpp
@@ -2,7 +2,7 @@
#include "patcher.h"
#include "main.h"
#include "FileMgr.h"
-#include "HandlingDatamgr.h"
+#include "HandlingMgr.h"
cHandlingDataMgr &mod_HandlingManager = *(cHandlingDataMgr*)0x728060;
diff --git a/src/control/HandlingDataMgr.h b/src/control/HandlingMgr.h
index 216aa7e8..958e2351 100644
--- a/src/control/HandlingDataMgr.h
+++ b/src/control/HandlingMgr.h
@@ -133,6 +133,7 @@ public:
int FindExactWord(const char *word, const char *words, int wordLen, int numWords);
void ConvertDataToGameUnits(tHandlingData *handling);
int32 GetHandlingId(const char *name);
+ tHandlingData *GetHandlingData(eHandlingId id) { return &HandlingData[id]; }
};
VALIDATE_SIZE(cHandlingDataMgr, 0x3030);
extern cHandlingDataMgr &mod_HandlingManager;