(svn r16525) -Codechange: Notify small ufos on deletion of road vehicles, so they can head for somewhere else instead of stumbling over a ghost.

This commit is contained in:
frosch
2009-06-06 14:46:50 +00:00
parent ec3ef70adb
commit 5b497d6b49
4 changed files with 38 additions and 4 deletions

View File

@@ -554,6 +554,8 @@ void Vehicle::PreDestructor()
extern void StopGlobalFollowVehicle(const Vehicle *v);
StopGlobalFollowVehicle(this);
ReleaseDisastersTargetingVehicle(this->index);
}
Vehicle::~Vehicle()