From 3c3f9663e9cda9c978bcbc7bf20f873927f640bf Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 20 Apr 2014 15:10:26 +0000 Subject: [PATCH] (svn r26474) -Cleanup: remove unneeded check for NULL --- src/newgrf_station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_station.cpp b/src/newgrf_station.cpp index 647e8781aa..f99121df2d 100644 --- a/src/newgrf_station.cpp +++ b/src/newgrf_station.cpp @@ -545,7 +545,7 @@ uint32 Waypoint::GetNewGRFVariable(const ResolverObject &object, byte variable, */ 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 */