aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/world.h')
-rw-r--r--engines/wage/world.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/engines/wage/world.h b/engines/wage/world.h
index 1416fc39e6..e9041139df 100644
--- a/engines/wage/world.h
+++ b/engines/wage/world.h
@@ -52,6 +52,8 @@ namespace Wage {
#define STORAGESCENE "STORAGE@"
+class Sound;
+
class World {
public:
World(WageEngine *engine);
@@ -125,12 +127,7 @@ public:
_orderedChrs.push_back(chr);
}
- void addSound(Sound *sound) {
- Common::String s = sound->_name;
- s.toLowercase();
- _sounds[s] = sound;
- _orderedSounds.push_back(sound);
- }
+ void addSound(Sound *sound);
private:
Common::StringArray *readMenu(Common::SeekableReadStream *res);