Init in the right spot :P

svn-id: r15558
This commit is contained in:
James Brown 2004-10-15 10:56:16 +00:00
parent 0ee4b3e542
commit b1ec9a92bf

View File

@ -32,6 +32,7 @@
namespace Kyra {
VMContext::VMContext(KyraEngine* engine) {
_engine = engine;
_error = false;
// now we create a list of all Command/Opcode procs and so
static CommandEntry commandProcs[] = {
@ -767,7 +768,6 @@ namespace Kyra {
assert(script_start);
uint32 scriptStateAtStart = _scriptState;
_error = false;
// runs the script
while(true) {