forked from mirror/OpenTTD
(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:
@@ -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++;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user