diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-05-20 19:10:05 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-05-20 19:21:27 +0200 |
commit | 2ab3fb5dd02aad980718f1ac176f06f7b7e25f41 (patch) | |
tree | 974cd9b8b95fb9655621143932eca14154fe7df6 /src/core/World.cpp | |
parent | Merge pull request #569 from aap/miami (diff) | |
download | re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.gz re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.bz2 re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.lz re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.xz re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.tar.zst re3-2ab3fb5dd02aad980718f1ac176f06f7b7e25f41.zip |
Diffstat (limited to 'src/core/World.cpp')
-rw-r--r-- | src/core/World.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/World.cpp b/src/core/World.cpp index 16e5e80d..433f9745 100644 --- a/src/core/World.cpp +++ b/src/core/World.cpp @@ -1818,9 +1818,8 @@ CWorld::RepositionOneObject(CEntity *pEntity) modelId == MI_DUMP1 || modelId == MI_ROADWORKBARRIER1 || modelId == MI_BUSSIGN1 || modelId == MI_NOPARKINGSIGN1 || modelId == MI_PHONESIGN || modelId == MI_FIRE_HYDRANT || modelId == MI_BOLLARDLIGHT || modelId == MI_PARKTABLE || modelId == MI_PARKINGMETER2 || modelId == MI_TELPOLE02 || - modelId == MI_PARKBENCH || modelId == MI_BARRIER1 || IsTreeModel(modelId) -// TODO(MIAMI): this is actually a different case -|| IsStreetLight(modelId) + modelId == MI_PARKBENCH || modelId == MI_BARRIER1 || IsTreeModel(modelId) || + IsLightThatNeedsRepositioning(modelId) ) { CVector &position = pEntity->GetMatrix().GetPosition(); CColModel *pColModel = pEntity->GetColModel(); |