Added music playing as a test

This commit is contained in:
Nicolay Korslund 2010-08-12 17:58:29 +02:00
parent 8067d62800
commit 7516e4ca53
5 changed files with 54 additions and 46 deletions

View file

@ -32,7 +32,7 @@ namespace MWScript
std::string text = runtime.getStringLiteral (runtime[0].mInteger);
runtime.pop();
context.getSoundManager().say (context.getReference(), file, text);
context.getSoundManager().say (context.getReference(), file);
context.messageBox (text);
}
};
@ -205,7 +205,7 @@ namespace MWScript
runtime.pop();
context.getSoundManager().say (context.getWorld().getPtr (id, true),
file, text);
file);
}
};