diff options
Diffstat (limited to 'src/economy.cpp')
-rw-r--r-- | src/economy.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/economy.cpp b/src/economy.cpp index 5cf7298b6..ee7ac8d5d 100644 --- a/src/economy.cpp +++ b/src/economy.cpp @@ -355,14 +355,14 @@ void ChangeOwnershipOfPlayerItems(PlayerID old_player, PlayerID new_player) Vehicle *u = v; do { Vehicle *next = GetNextVehicle(u); - DeleteVehicle(u); + delete u; u = next; } while (u != NULL); } break; case VEH_ROAD: case VEH_SHIP: - DeleteVehicle(v); + delete v; break; case VEH_AIRCRAFT: |