]> git.mxchange.org Git - flightgear.git/commit
Make TrafficRecord own its AIAircraft.
authorJames Turner <zakalawe@mac.com>
Mon, 4 Jan 2016 18:10:04 +0000 (12:10 -0600)
committerJames Turner <zakalawe@mac.com>
Mon, 4 Jan 2016 19:34:39 +0000 (13:34 -0600)
commitfadad5d70bb6ce00f99fdc4419725334f653f6e4
tree9808f8cebf8b8cf547d7ee341fcf8c9682740d2d
parent359f924ec9e96aa6446a00925bddab1b32cc4f95
Make TrafficRecord own its AIAircraft.

- use the ref-counting system, hopefully avoid a dangling pointer
  crash I encountered. (Of course it may turn into a leak)
src/ATC/atc_mgr.cxx
src/ATC/atc_mgr.hxx
src/ATC/trafficcontrol.cxx
src/ATC/trafficcontrol.hxx