diff options
author | Marisa-Chan | 2015-01-23 16:20:59 +0600 |
---|---|---|
committer | Marisa-Chan | 2015-01-23 16:20:59 +0600 |
commit | ad2ab98474cecc8f8764697b3aa2acc16912368f (patch) | |
tree | edb66c52d6476be7af6da4d03f7d039bf5075a7a /engines/zvision/scripting/effects | |
parent | d67727a7a452354587fb49e58ac3a61cd4ac1fec (diff) | |
download | scummvm-rg350-ad2ab98474cecc8f8764697b3aa2acc16912368f.tar.gz scummvm-rg350-ad2ab98474cecc8f8764697b3aa2acc16912368f.tar.bz2 scummvm-rg350-ad2ab98474cecc8f8764697b3aa2acc16912368f.zip |
ZVISION: Use correct int type for volume
Diffstat (limited to 'engines/zvision/scripting/effects')
-rw-r--r-- | engines/zvision/scripting/effects/music_effect.cpp | 2 | ||||
-rw-r--r-- | engines/zvision/scripting/effects/music_effect.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/scripting/effects/music_effect.cpp b/engines/zvision/scripting/effects/music_effect.cpp index 3d3fc88751..6c1a5f7376 100644 --- a/engines/zvision/scripting/effects/music_effect.cpp +++ b/engines/zvision/scripting/effects/music_effect.cpp @@ -36,7 +36,7 @@ namespace ZVision { -MusicNode::MusicNode(ZVision *engine, uint32 key, Common::String &filename, bool loop, int8 volume) +MusicNode::MusicNode(ZVision *engine, uint32 key, Common::String &filename, bool loop, uint8 volume) : MusicNodeBASE(engine, key, SCRIPTING_EFFECT_AUDIO) { _loop = loop; _volume = volume; diff --git a/engines/zvision/scripting/effects/music_effect.h b/engines/zvision/scripting/effects/music_effect.h index f6cb4a5a1c..7657be8e09 100644 --- a/engines/zvision/scripting/effects/music_effect.h +++ b/engines/zvision/scripting/effects/music_effect.h @@ -57,7 +57,7 @@ public: class MusicNode : public MusicNodeBASE { public: - MusicNode(ZVision *engine, uint32 key, Common::String &file, bool loop, int8 volume); + MusicNode(ZVision *engine, uint32 key, Common::String &file, bool loop, uint8 volume); ~MusicNode(); /** |