summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-19 21:42:55 +0200
committeraap <aap@papnet.eu>2020-05-19 21:42:55 +0200
commit0b0ba49abc34315f532f9adcdbc277d5275723c7 (patch)
treeeaad5557debdcc21e0936cb47ba9eb975d1431ea /src/modelinfo/ModelIndices.cpp
parentlittle cleanup of handlingmgr (diff)
downloadre3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar
re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.gz
re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.bz2
re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.lz
re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.xz
re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.tar.zst
re3-0b0ba49abc34315f532f9adcdbc277d5275723c7.zip
Diffstat (limited to 'src/modelinfo/ModelIndices.cpp')
-rw-r--r--src/modelinfo/ModelIndices.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modelinfo/ModelIndices.cpp b/src/modelinfo/ModelIndices.cpp
index 9a6a74d0..056c3733 100644
--- a/src/modelinfo/ModelIndices.cpp
+++ b/src/modelinfo/ModelIndices.cpp
@@ -3,14 +3,14 @@
#include "General.h"
#include "ModelIndices.h"
-#define X(name, var, addr) int16 var;
+#define X(name, var) int16 var;
MODELINDICES
#undef X
void
InitModelIndices(void)
{
-#define X(name, var, addr) var = -1;
+#define X(name, var) var = -1;
MODELINDICES
#undef X
}
@@ -18,7 +18,7 @@ InitModelIndices(void)
void
MatchModelString(const char *modelname, int16 id)
{
-#define X(name, var, addr) \
+#define X(name, var) \
if(!CGeneral::faststrcmp(name, modelname)){ \
var = id; \
return; \