(svn r14747) -Codechange: remove DeleteVehicleChain in favour of the vehicle destructor as that was already doing the same for a few vehicle types.
This commit is contained in:
@@ -148,7 +148,7 @@ static void InitializeDisasterVehicle(Vehicle *v, int x, int y, byte z, Directio
|
||||
|
||||
static void DeleteDisasterVeh(Vehicle *v)
|
||||
{
|
||||
DeleteVehicleChain(v);
|
||||
delete v;
|
||||
}
|
||||
|
||||
static void SetDisasterVehiclePos(Vehicle *v, int x, int y, byte z)
|
||||
|
Reference in New Issue
Block a user