Changeset - r1012:16492975a916
[Not reviewed]
master
0 1 0
tron - 19 years ago 2005-01-14 21:58:48
tron@openttd.org
(svn r1512) Replace probably incorrect test of loading_count with probably correct test of loaded_count
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
station_cmd.c
Show inline comments
 
@@ -1151,13 +1151,13 @@ uint32 GetCustomStationRelocation(struct
 

	
 
	rsg = ResolveStationSpriteGroup(&spec->spritegroup[ctype], stat);
 

	
 
	if (rsg->sprites_per_set != 0) {
 
		if (rsg->loading_count != 0) {
 
			return rsg->loading[0];
 
		} else if (rsg->loading_count != 0) {
 
		} else if (rsg->loaded_count != 0) {
 
			return rsg->loaded[0];
 
		}
 
	}
 

	
 
	error("Custom station 0x%08x::0x%02x has no sprites associated.",
 
	       spec->grfid, spec->localidx);
0 comments (0 inline, 0 general)