diff options
author | truelight <truelight@openttd.org> | 2006-08-26 18:27:15 +0000 |
---|---|---|
committer | truelight <truelight@openttd.org> | 2006-08-26 18:27:15 +0000 |
commit | 587b2a8826274242e400124eb5bb8704a046ff81 (patch) | |
tree | 992a7f71d97911ec63112d37ad46c9658df9267a /station_cmd.c | |
parent | bb9f29ae1f49d4d935d343dd2e24d8d66ce938ce (diff) | |
download | openttd-587b2a8826274242e400124eb5bb8704a046ff81.tar.xz |
(svn r6150) -Codechange: introduced and used RoadStopID where needed
Diffstat (limited to 'station_cmd.c')
-rw-r--r-- | station_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/station_cmd.c b/station_cmd.c index 135081c6d..469d6ce81 100644 --- a/station_cmd.c +++ b/station_cmd.c @@ -153,7 +153,7 @@ RoadStop *AllocateRoadStop(void) * TODO - This is just a temporary stage, this will be removed. */ for (rs = GetRoadStop(0); rs != NULL; rs = (rs->index + 1 < GetRoadStopPoolSize()) ? GetRoadStop(rs->index + 1) : NULL) { if (!IsValidRoadStop(rs)) { - uint index = rs->index; + RoadStopID index = rs->index; memset(rs, 0, sizeof(*rs)); rs->index = index; |