aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/BSurfaceStorage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wintermute/BSurfaceStorage.cpp')
-rw-r--r--engines/wintermute/BSurfaceStorage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wintermute/BSurfaceStorage.cpp b/engines/wintermute/BSurfaceStorage.cpp
index a460ac83a6..0e22ae64fb 100644
--- a/engines/wintermute/BSurfaceStorage.cpp
+++ b/engines/wintermute/BSurfaceStorage.cpp
@@ -97,7 +97,7 @@ HRESULT CBSurfaceStorage::RemoveSurface(CBSurface *surface) {
//////////////////////////////////////////////////////////////////////
-CBSurface *CBSurfaceStorage::AddSurface(char *Filename, bool default_ck, byte ck_red, byte ck_green, byte ck_blue, int LifeTime, bool KeepLoaded) {
+CBSurface *CBSurfaceStorage::AddSurface(const char *Filename, bool default_ck, byte ck_red, byte ck_green, byte ck_blue, int LifeTime, bool KeepLoaded) {
for (int i = 0; i < _surfaces.GetSize(); i++) {
if (scumm_stricmp(_surfaces[i]->_filename, Filename) == 0) {
_surfaces[i]->_referenceCount++;