(svn r1544) -Fix: SwapOrder did not use AssignOrder, which caused the saveroutine to

crash from time to time
-Codechange: added const before 'Order *' where possible
This commit is contained in:
truelight
2005-01-16 14:42:53 +00:00
parent be5a832db3
commit 8e404a26f6
5 changed files with 8 additions and 6 deletions

2
ai.c
View File

@@ -3609,7 +3609,7 @@ static void AiStateRemoveStation(Player *p)
{
// Remove stations that aren't in use by any vehicle
byte in_use[256], *used;
Order *ord;
const Order *ord;
Station *st;
uint tile;