summaryrefslogtreecommitdiff
path: root/src/map/magic-interpreter.h
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-11-24 13:27:26 -0700
committerFate <fate-tmw@googlemail.com>2008-11-24 13:27:26 -0700
commitb218ad7f381cb7e460bd7f464f4c8b6fab18a27e (patch)
tree8b69f77c7e983df0589739edc32a7fbea3ffe11c /src/map/magic-interpreter.h
parent0cf54b3627d8880bf9670b518740d96d8b80a8f4 (diff)
downloadtmwa-b218ad7f381cb7e460bd7f464f4c8b6fab18a27e.tar.gz
tmwa-b218ad7f381cb7e460bd7f464f4c8b6fab18a27e.tar.bz2
tmwa-b218ad7f381cb7e460bd7f464f4c8b6fab18a27e.tar.xz
tmwa-b218ad7f381cb7e460bd7f464f4c8b6fab18a27e.zip
Fixed looping over spells
Diffstat (limited to 'src/map/magic-interpreter.h')
-rw-r--r--src/map/magic-interpreter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic-interpreter.h b/src/map/magic-interpreter.h
index 1f4f896..0e6218e 100644
--- a/src/map/magic-interpreter.h
+++ b/src/map/magic-interpreter.h
@@ -315,7 +315,7 @@ typedef struct env {
typedef struct cont_activation_record {
effect_t *return_location;
union c {
- struct { int id; effect_t *body; int entities_nr; int *entities; int index; } c_foreach;
+ struct { int id, ty; effect_t *body; int entities_nr; int *entities; int index; } c_foreach;
struct { int id; effect_t *body; int current; int stop; } c_for;
struct { int args_nr, *formals; val_t *old_actuals; } c_proc;
} c;