summaryrefslogtreecommitdiff
path: root/src/map/pc.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-14 15:04:12 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-09-14 15:21:47 -0700
commit06b19474a7335cf4a4bd6ecc7405755a9610c742 (patch)
tree6c64175e765a0954270bbabda7c5dbb19ad1fb00 /src/map/pc.cpp
parent6b41aef5e39eb40ea73e08c679eb79e7c187dbb4 (diff)
downloadtmwa-06b19474a7335cf4a4bd6ecc7405755a9610c742.tar.gz
tmwa-06b19474a7335cf4a4bd6ecc7405755a9610c742.tar.bz2
tmwa-06b19474a7335cf4a4bd6ecc7405755a9610c742.tar.xz
tmwa-06b19474a7335cf4a4bd6ecc7405755a9610c742.zip
Warn about conditional return and add script dumper
The problem is that since 'if' is a function, the 'return' action is executed *before* the recursive return. This messes up the stack. Sooner or later I'll be able to fix the scripting language properly, but it's probably a good idea to goto L_Return to clear variables anyway.
Diffstat (limited to 'src/map/pc.cpp')
0 files changed, 0 insertions, 0 deletions