a lot of clean up

This commit is contained in:
gugus 2012-03-16 17:53:34 +01:00
parent 91801e5cab
commit 042d87f77f
4 changed files with 10 additions and 102 deletions

View file

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