(svn r10363) -Fix [FS#911]: invalidating autoreplace windows didn't take account of vehicle group (Matthias Wolf)
This commit is contained in:
@@ -736,7 +736,7 @@ CommandCost CmdSetAutoReplace(TileIndex tile, uint32 flags, uint32 p1, uint32 p2
|
||||
cost = RemoveEngineReplacementForPlayer(p, old_engine_type,id_g, flags);
|
||||
}
|
||||
|
||||
if (IsLocalPlayer()) InvalidateAutoreplaceWindow(old_engine_type);
|
||||
if (IsLocalPlayer()) InvalidateAutoreplaceWindow(old_engine_type, id_g);
|
||||
|
||||
return cost;
|
||||
}
|
||||
|
Reference in New Issue
Block a user