]> git.mxchange.org Git - flightgear.git/commit
aircraft are often in several state lists at the same time, and they can
authormfranz <mfranz>
Sat, 15 Apr 2006 18:48:59 +0000 (18:48 +0000)
committermfranz <mfranz>
Sat, 15 Apr 2006 18:48:59 +0000 (18:48 +0000)
commitc0c9d51c09ce0dc22524b6795e0fcdfa59d1af2b
treec321a7df8a18a637419ef1056c3d00d4316554a3
parentec5ea9f3449f9298d43ec7610c80f3b0a77f9e00
aircraft are often in several state lists at the same time, and they can
even be more than once in the same list. We need to remove all such instances,
or the a pointer to TowerPlaneRec may become invalid and cause crashes.

The proper fix would, of course, be to be careful with state changes and
to prevent *any* duplication of entries.   [OK'ed by David]
src/ATC/tower.cxx