(svn r6049) -Codechange: forgot EngineRenew in r6047

-Codechange: cleaned up the EngineRenew code a bit (coding style mostly)
-Codechange: forgot the correct comment in station_cmd
-Codechange: move pool-stuff to engine.h, like we always do
This commit is contained in:
truelight
2006-08-22 16:22:07 +00:00
parent a4d7fa19c7
commit c0f352670a
4 changed files with 54 additions and 35 deletions

View File

@@ -52,7 +52,7 @@ static void StationPoolNewBlock(uint start_item)
Station *st;
/* We don't use FOR_ALL here, because FOR_ALL skips invalid items.
* This is just a temporary stage, this will be removed. */
* TODO - This is just a temporary stage, this will be removed. */
for (st = GetStation(start_item); st != NULL; st = (st->index + 1 < GetStationPoolSize()) ? GetStation(st->index + 1) : NULL) st->index = start_item++;
}