SHERLOCK: Silence very noisy GCC warning

Since 'w' and 'h' are members of ManagedSurface, using them as
input parameters to a method caused GCC to warn about them being
shadowed. For just about every file in the Sherlock engine...
This commit is contained in:
Torbjörn Andersson 2016-05-29 21:32:46 +02:00
parent e317b87753
commit e963f8bc60

View File

@ -121,7 +121,7 @@ protected:
virtual void addDirtyRect(const Common::Rect &r) {}
public:
Surface() : BaseSurface() {}
Surface(int w, int h) : BaseSurface(w, h) {}
Surface(int width, int height) : BaseSurface(width, height) {}
};
} // End of namespace Sherlock