mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
a lot of clean up
This commit is contained in:
parent
91801e5cab
commit
042d87f77f
4 changed files with 10 additions and 102 deletions
|
@ -95,12 +95,10 @@ namespace MWScript
|
|||
|
||||
virtual void execute (Interpreter::Runtime& runtime, unsigned int arg0)
|
||||
{
|
||||
std::cout << "CHOICE" << arg0;
|
||||
arg0 = 4;
|
||||
MWScript::InterpreterContext& context
|
||||
= static_cast<MWScript::InterpreterContext&> (runtime.getContext());
|
||||
MWDialogue::DialogueManager* dialogue = context.getEnvironment().mDialogueManager;
|
||||
//int choice = 1;
|
||||
while(arg0>0)
|
||||
{
|
||||
std::string question = runtime.getStringLiteral (runtime[0].mInteger);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue