diff options
Diffstat (limited to 'Src')
-rw-r--r-- | Src/math.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Src/math.c b/Src/math.c index e87a286fb..344670d6e 100644 --- a/Src/math.c +++ b/Src/math.c @@ -1109,6 +1109,8 @@ mathparse(int pc) } break; case QUEST: + if (stack[sp].val.type == MN_UNSET) + stack[sp].val = getnparam(stack[sp].lval); q = (stack[sp].val.type == MN_FLOAT) ? (zlong)stack[sp].val.u.d : stack[sp].val.u.l; |