diff --git a/src/common/SoundNull.hxx b/src/common/SoundNull.hxx index d9b8065b7..cda9ab671 100644 --- a/src/common/SoundNull.hxx +++ b/src/common/SoundNull.hxx @@ -39,7 +39,7 @@ class SoundNull : public Sound */ SoundNull(OSystem& osystem) : Sound(osystem) { - myOSystem->logMessage("Sound disabled.\n", 1); + myOSystem.logMessage("Sound disabled.\n", 1); } /**