File diff r2488:f9a2e7b1def4 → r2489:54c5b175f0bf
station_cmd.c
Show inline comments
 
@@ -1349,9 +1349,9 @@ uint32 GetCustomStationRelocation(const 
 
	const RealSpriteGroup *rsg = ResolveStationSpriteGroup(spec->spritegroup[ctype], st);
 

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

	
 
		if (rsg->loaded_count != 0) return rsg->loaded[0];
 
		if (rsg->loading_count != 0) return rsg->loading[0]->g.result.result;
 

	
 
		if (rsg->loaded_count != 0) return rsg->loaded[0]->g.result.result;
 
	}
 

	
 
	error("Custom station 0x%08x::0x%02x has no sprites associated.",