From 94e44d05a1a8f0222bb1f9063f718d08cddeb709 Mon Sep 17 00:00:00 2001 From: darkvater Date: Mon, 10 Jan 2005 12:14:15 +0000 Subject: (svn r1460) -Fix: [1099225] Bug Fix - Vehicle Lists not updated at Acqusition (thx tamlin and mpetrov) This also fixes some bug but can't find i right now. --- economy.c | 1 + 1 file changed, 1 insertion(+) (limited to 'economy.c') diff --git a/economy.c b/economy.c index d7a58a749..0b63c3bf6 100644 --- a/economy.c +++ b/economy.c @@ -1519,6 +1519,7 @@ static void DoAcquireCompany(Player *p) p->is_active = false; DeletePlayerWindows(pi); + RebuildVehicleLists(); //Updates the open windows to add the newly acquired vehicles to the lists } extern int GetAmountOwnedBy(Player *p, byte owner); -- cgit v1.2.3-54-g00ecf