From db894b0b3fa13413cdb76989cfcd2bb789243b77 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 24 Nov 2013 14:41:19 +0000 Subject: (svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL. --- src/newgrf_town.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf_town.h') diff --git a/src/newgrf_town.h b/src/newgrf_town.h index 3f6094cdb..145571e8a 100644 --- a/src/newgrf_town.h +++ b/src/newgrf_town.h @@ -25,7 +25,7 @@ struct TownScopeResolver : public ScopeResolver { Town *t; ///< %Town of the scope. bool readonly; ///< When set, persistent storage of the town is read-only, - TownScopeResolver(ResolverObject *ro, Town *t, bool readonly); + TownScopeResolver(ResolverObject &ro, Town *t, bool readonly); virtual uint32 GetVariable(byte variable, uint32 parameter, bool *available) const; virtual void StorePSA(uint reg, int32 value); -- cgit v1.2.3-70-g09d2