1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 17:59:56 +00:00

modified parser to skip over button arguments in an messagebox instruction

This commit is contained in:
Marc Zinnschlag 2010-07-05 13:21:08 +02:00
parent 3df5d377f2
commit b28a6fd7b8

View file

@ -120,6 +120,10 @@ namespace Compiler
mExprParser.parseArguments (arguments, scanner, mCode, true);
}
// for now skip buttons
SkipParser skip (getErrorHandler(), getContext());
scanner.scan (skip);
Generator::message (mCode, mLiterals, name, 0);
mState = EndState;
return false;