branch | noai |
changeset 9860 | 4f554e7b1985 |
parent 9837 | c9ec4f82e0d0 |
child 9869 | 6404afe43575 |
--- a/src/economy.cpp Wed Apr 02 10:55:28 2008 +0000 +++ b/src/economy.cpp Wed Apr 02 11:14:29 2008 +0000 @@ -1852,6 +1852,7 @@ _current_player = old_player; p->is_active = false; + if (!IsHumanPlayer(p->index)) AI_PlayerDied(p->index); DeletePlayerWindows(pi); RebuildVehicleLists(); //Updates the open windows to add the newly acquired vehicles to the lists