(svn r26085) -Codechange: Pass ResolverObjects as reference instead of pointer since they are never NULL.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user