(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:
rubidium
2008-12-26 20:45:02 +00:00
parent 73ca72922c
commit f18043ee21
6 changed files with 14 additions and 53 deletions

View File

@@ -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)