Codefix: Effect vehicles don't use v->tile, so shouldn't be in the vehicle tile hash. (#14302)

This commit is contained in:
Peter Nelson
2025-05-26 21:45:46 +01:00
committed by GitHub
parent e23a591a1e
commit e2d066e5d3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1733,7 +1733,7 @@ void Vehicle::UpdateViewport(bool dirty)
*/
void Vehicle::UpdatePositionAndViewport()
{
this->UpdatePosition();
if (this->type != VEH_EFFECT) this->UpdatePosition();
this->UpdateViewport(true);
}