summaryrefslogtreecommitdiffstats
path: root/src/modelinfo/ModelIndices.h
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-05-06 21:54:43 +0200
committeraap <aap@papnet.eu>2020-05-06 21:54:43 +0200
commit965ea93a616575ef483c21f38c715b6559b18d4a (patch)
tree7ac8493ed384631a2956c599d0f2f62f730119dd /src/modelinfo/ModelIndices.h
parentMerge pull request #516 from Nick007J/miami (diff)
downloadre3-965ea93a616575ef483c21f38c715b6559b18d4a.tar
re3-965ea93a616575ef483c21f38c715b6559b18d4a.tar.gz
re3-965ea93a616575ef483c21f38c715b6559b18d4a.tar.bz2
re3-965ea93a616575ef483c21f38c715b6559b18d4a.tar.lz
re3-965ea93a616575ef483c21f38c715b6559b18d4a.tar.xz
re3-965ea93a616575ef483c21f38c715b6559b18d4a.tar.zst
re3-965ea93a616575ef483c21f38c715b6559b18d4a.zip
Diffstat (limited to 'src/modelinfo/ModelIndices.h')
-rw-r--r--src/modelinfo/ModelIndices.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modelinfo/ModelIndices.h b/src/modelinfo/ModelIndices.h
index 5c8d4858..38d1d42b 100644
--- a/src/modelinfo/ModelIndices.h
+++ b/src/modelinfo/ModelIndices.h
@@ -357,7 +357,7 @@ enum
MI_AIRTRAIN_VLO = 198,
MI_LOPOLYGUY,
- NUM_DEFAULT_MODELS
+ NUM_DEFAULT_MODELS = 300 // MIAMI
};
enum{
@@ -373,7 +373,7 @@ inline bool
IsGlass(int16 id)
{
CSimpleModelInfo *mi = (CSimpleModelInfo*)CModelInfo::GetModelInfo(id);
- return mi->IsSimple() && (mi->m_isCodeGlass || mi->m_isArtistGlass);
+ return mi->IsBuilding() && (mi->m_isCodeGlass || mi->m_isArtistGlass);
}
inline bool