economy.c
changeset 967 124257e8befa
parent 930 ab42e283749d
child 970 24abd02b1092
equal deleted inserted replaced
966:242530cd9426 967:124257e8befa
  1517 	}
  1517 	}
  1518 
  1518 
  1519 	p->is_active = false;
  1519 	p->is_active = false;
  1520 
  1520 
  1521 	DeletePlayerWindows(pi);
  1521 	DeletePlayerWindows(pi);
       
  1522 	RebuildVehicleLists();	//Updates the open windows to add the newly acquired vehicles to the lists
  1522 }
  1523 }
  1523 
  1524 
  1524 extern int GetAmountOwnedBy(Player *p, byte owner);
  1525 extern int GetAmountOwnedBy(Player *p, byte owner);
  1525 
  1526 
  1526 int32 CmdBuyShareInCompany(int x, int y, uint32 flags, uint32 p1, uint32 p2)
  1527 int32 CmdBuyShareInCompany(int x, int y, uint32 flags, uint32 p1, uint32 p2)