summaryrefslogtreecommitdiffstats
path: root/src/core/World.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/core/World.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/core/World.cpp')
-rw-r--r--src/core/World.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp
index c15c134d..edcfd865 100644
--- a/src/core/World.cpp
+++ b/src/core/World.cpp
@@ -1823,7 +1823,7 @@ void
CWorld::RepositionOneObject(CEntity *pEntity)
{
int16 modelId = pEntity->GetModelIndex();
- if (IsTrafficLight(modelId) || IsTreeModel(modelId) || modelId == MI_PARKINGMETER ||
+ if (IsStreetLight(modelId) || IsTreeModel(modelId) || modelId == MI_PARKINGMETER ||
modelId == MI_PHONEBOOTH1 || modelId == MI_WASTEBIN || modelId == MI_BIN || modelId == MI_POSTBOX1 ||
modelId == MI_NEWSSTAND || modelId == MI_TRAFFICCONE || modelId == MI_DUMP1 ||
modelId == MI_ROADWORKBARRIER1 || modelId == MI_BUSSIGN1 || modelId == MI_NOPARKINGSIGN1 ||