From af8ffaeeaebd99236b6076c9e342ff65f4786466 Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sat, 26 Oct 2019 21:25:45 +0300 Subject: Removed redundant check in IsPickupModel, TestModelIndices added --- src/modelinfo/ModelIndices.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/modelinfo/ModelIndices.cpp') diff --git a/src/modelinfo/ModelIndices.cpp b/src/modelinfo/ModelIndices.cpp index 9a8aaead..bf6b3905 100644 --- a/src/modelinfo/ModelIndices.cpp +++ b/src/modelinfo/ModelIndices.cpp @@ -26,6 +26,12 @@ MatchModelString(const char *modelname, int16 id) #undef X } +void +TestModelIndices(void) +{ + ; +} + STARTPATCHES InjectHook(0x48EB60, InitModelIndices, PATCH_JUMP); InjectHook(0x48F030, MatchModelString, PATCH_JUMP); -- cgit v1.2.3