Changeset - r21375:e58424bb302b
[Not reviewed]
master
0 1 0
rubidium - 10 years ago 2014-04-20 15:10:26
rubidium@openttd.org
(svn r26474) -Cleanup: remove unneeded check for NULL
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/newgrf_station.cpp
Show inline comments
 
@@ -545,7 +545,7 @@ uint32 Waypoint::GetNewGRFVariable(const
 
 */
 
StationResolverObject::StationResolverObject(const StationSpec *statspec, BaseStation *st, TileIndex tile,
 
		CallbackID callback, uint32 callback_param1, uint32 callback_param2)
 
	: ResolverObject((statspec != NULL ? statspec->grf_prop.grffile : NULL), callback, callback_param1, callback_param2),
 
	: ResolverObject(statspec->grf_prop.grffile, callback, callback_param1, callback_param2),
 
	station_scope(*this, statspec, st, tile), town_scope(NULL)
 
{
 
	/* Invalidate all cached vars */
0 comments (0 inline, 0 general)