(svn r3169) Little bit of coding style fixing, and change from value to lengthof()

This commit is contained in:
peter1138
2005-11-12 08:51:46 +00:00
parent 7bbf614796
commit b1b6d15072
2 changed files with 6 additions and 6 deletions

View File

@@ -2392,13 +2392,12 @@ static void ReleaseSpriteGroups(GRFFile *file)
static void ResetCustomStations(void)
{
GRFFile *file;
int i;
uint i;
CargoID c;
for (file = _first_grffile; file != NULL; file = file->next) {
for (i = 0; i < 256; i++) {
if (file->stations[i].grfid != file->grfid)
continue;
for (i = 0; i < lengthof(file->stations); i++) {
if (file->stations[i].grfid != file->grfid) continue;
// TODO: Release renderdata, platforms and layouts