mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-08 03:28:15 +03:00
Added music playing as a test
This commit is contained in:
parent
8067d62800
commit
7516e4ca53
5 changed files with 54 additions and 46 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue