diff options
Diffstat (limited to 'engines/director/lingo/lingo-gr.y')
-rw-r--r-- | engines/director/lingo/lingo-gr.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/lingo/lingo-gr.y b/engines/director/lingo/lingo-gr.y index 45f340e3dc..d0fec592b9 100644 --- a/engines/director/lingo/lingo-gr.y +++ b/engines/director/lingo/lingo-gr.y @@ -333,9 +333,9 @@ elseifstmtoneliner1: elseif cond tTHEN begin stmt end { ; elseifstmt1: elseifstmtoneliner - | elseif cond tTHEN stmtlist end { + | elseif cond tTHEN begin stmtlist end { inst then = 0; - WRITE_UINT32(&then, $4); + WRITE_UINT32(&then, $5); (*g_lingo->_currentScript)[$1 + 1] = then; /* thenpart */ g_lingo->codeLabel($1); } |