From 4d3ecbfcd2aabf0885df978e6e44ef8b8256c657 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Wed, 9 Jan 2013 07:38:27 +0100 Subject: KYRA: Use override in subclasses of Sound, which override voicePlay. --- engines/kyra/sound_intern.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/engines/kyra/sound_intern.h b/engines/kyra/sound_intern.h index 4bf43d73d8..007ca3d3f5 100644 --- a/engines/kyra/sound_intern.h +++ b/engines/kyra/sound_intern.h @@ -183,7 +183,7 @@ public: virtual void haltTrack(); virtual void beginFadeOut(); - virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) { return -1; } + virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) override { return -1; } virtual void playSoundEffect(uint8 track, uint8 volume = 0xFF); virtual void updateVolumeSettings(); @@ -219,7 +219,7 @@ public: virtual void haltTrack(); virtual void beginFadeOut(); - virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume = 255, uint8 priority = 255, bool isSfx = true); + virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume = 255, uint8 priority = 255, bool isSfx = true) override; virtual void playSoundEffect(uint8 track, uint8 volume = 0xFF); virtual void updateVolumeSettings(); @@ -334,7 +334,7 @@ public: virtual void haltTrack(); virtual void beginFadeOut(); - virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) { return -1; } + virtual int32 voicePlay(const char *file, Audio::SoundHandle *handle, uint8 volume, uint8 priority, bool isSfx) override { return -1; } virtual void playSoundEffect(uint8 track, uint8 volume = 0xFF); protected: -- cgit v1.2.3