mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-08 01:10:28 +00:00
(svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled.
This commit is contained in:
parent
aeae689dc4
commit
85434d3c5b
@ -30,6 +30,7 @@
|
||||
#include "aircraft.h"
|
||||
#include "roadveh.h"
|
||||
#include "train.h"
|
||||
#include "ship.h"
|
||||
#include "console_func.h"
|
||||
#include "screenshot.h"
|
||||
#include "network/network.h"
|
||||
@ -1168,6 +1169,7 @@ static void CheckCaches()
|
||||
case VEH_TRAIN: Train::From(v)->ConsistChanged(true); break;
|
||||
case VEH_ROAD: RoadVehUpdateCache(RoadVehicle::From(v)); break;
|
||||
case VEH_AIRCRAFT: UpdateAircraftCache(Aircraft::From(v)); break;
|
||||
case VEH_SHIP: Ship::From(v)->UpdateCache(); break;
|
||||
default: break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user