summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-19 20:56:42 +0200
committeraap <aap@papnet.eu>2020-05-19 20:56:42 +0200
commitbdbe5d1080066073f063d653e80df6dbf4b326a2 (patch)
treebc4f8fd0f648bc38789591efe73d661ed2981998 /src/modelinfo/ModelIndices.cpp
parentMerge pull request #564 from Xinerki/miami (diff)
downloadre3-bdbe5d1080066073f063d653e80df6dbf4b326a2.tar
re3-bdbe5d1080066073f063d653e80df6dbf4b326a2.tar.gz
re3-bdbe5d1080066073f063d653e80df6dbf4b326a2.tar.bz2
re3-bdbe5d1080066073f063d653e80df6dbf4b326a2.tar.lz
re3-bdbe5d1080066073f063d653e80df6dbf4b326a2.tar.xz
re3-bdbe5d1080066073f063d653e80df6dbf4b326a2.tar.zst
re3-bdbe5d1080066073f063d653e80df6dbf4b326a2.zip
Diffstat (limited to '')
-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; \