#9103 closed patch
descumm: v0-5 expression-mode nested instruction semi-colons
Reported by: | SF/jestar_jokin | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | Tools |
Version: | Keywords: | ||
Cc: | Game: |
Description
This applies only applies to scripts for SCUMM v0 to v5. Changes made in patches 2865629 and 2870543 made semi-colons always appear at the end of instructions. However, the "expression" mode can output multiple nested instructions within the expression, leading to semi-colons appearing in the middle of the overall expression instruction.
This patch adds a workaround for the expression mode that will remove semi-colons from nested instructions within an expression.
Ticket imported from: #2890553. Ticket imported from: patches/1208.
Attachments (2)
Change History (5)
by , 15 years ago
Attachment: | descumm_expression_semicolon_hack.diff added |
---|
comment:1 by , 15 years ago
To clarify what this fix entails, it basically changes this:
Exprmode Var[251] = (<VAR_RESULT = getRandomNr(4);> + 392);
To this:
Exprmode Var[251] = (<VAR_RESULT = getRandomNr(4)> + 392);
comment:2 by , 15 years ago
Owner: | set to |
---|---|
Status: | new → closed |
comment:3 by , 6 years ago
Component: | → Tools |
---|
patch made with TortoiseSVN unified diff