(svn r5886) -Fix [FS#273]: Incomplete removal of player owned property due to lack of money.

This commit is contained in:
Darkvater
2006-08-14 11:44:19 +00:00
parent f08c86e5cb
commit e6e42cd5f3
3 changed files with 30 additions and 25 deletions

View File

@@ -913,7 +913,6 @@ int32 CmdPlayerCtrl(TileIndex tile, uint32 flags, uint32 p1, uint32 p2)
/* Remove the company */
ChangeOwnershipOfPlayerItems(p->index, OWNER_SPECTATOR);
p->money64 = p->player_money = 100000000; // XXX - wtf?
p->is_active = false;
}
RemoveAllEngineReplacementForPlayer(p);