ZVISION: Use correct int type for volume

This commit is contained in:
Marisa-Chan 2015-01-23 16:20:59 +06:00
parent d67727a7a4
commit ad2ab98474
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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();
/**