The parser vocabulary remains static throughout the game, thus it has been removed from the engine state
svn-id: r49373
This commit is contained in:
parent
e083c20da1
commit
9c92bd1b81
9 changed files with 36 additions and 36 deletions
|
@ -67,8 +67,8 @@ reg_t kGetEvent(EngineState *s, int argc, reg_t *argv) {
|
|||
oldy = mousePos.y;
|
||||
curEvent = s->_event->get(mask);
|
||||
|
||||
if (s->_voc)
|
||||
s->_voc->parser_event = NULL_REG; // Invalidate parser event
|
||||
if (g_sci->getVocabulary())
|
||||
g_sci->getVocabulary()->parser_event = NULL_REG; // Invalidate parser event
|
||||
|
||||
writeSelectorValue(segMan, obj, SELECTOR(x), mousePos.x);
|
||||
writeSelectorValue(segMan, obj, SELECTOR(y), mousePos.y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue