summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.cpp
diff options
context:
space:
mode:
authorSergeanur <s.anureev@yandex.ua>2020-05-22 16:41:03 +0200
committerSergeanur <s.anureev@yandex.ua>2020-05-22 16:41:03 +0200
commitab161d12d8cf0326bf072777b7eeef31e8cd516c (patch)
treed9fb154d49338cab92e278fc34952386daa9e314 /src/modelinfo/ModelIndices.cpp
parentopus support (diff)
parentfixes for CPhysical and friends (diff)
downloadre3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.gz
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.bz2
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.lz
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.xz
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.tar.zst
re3-ab161d12d8cf0326bf072777b7eeef31e8cd516c.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; \