Codefix: Effect vehicles don't use v->tile, so shouldn't be in the vehicle tile hash. (#14302)
This commit is contained in:
+1
-1
@@ -1733,7 +1733,7 @@ void Vehicle::UpdateViewport(bool dirty)
|
||||
*/
|
||||
void Vehicle::UpdatePositionAndViewport()
|
||||
{
|
||||
this->UpdatePosition();
|
||||
if (this->type != VEH_EFFECT) this->UpdatePosition();
|
||||
this->UpdateViewport(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user