diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-24 18:52:00 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-06-24 19:07:21 -0700 |
commit | b353ae37eb6d374aec4127f1849a5dce81f812b5 (patch) | |
tree | 8bd11630cd97292d0a1def17cff36517b061a641 /src/map/magic-expr.hpp | |
parent | 7e71c1db0d46d7ff4dd53af9356e1a60814dd509 (diff) | |
download | tmwa-b353ae37eb6d374aec4127f1849a5dce81f812b5.tar.gz tmwa-b353ae37eb6d374aec4127f1849a5dce81f812b5.tar.bz2 tmwa-b353ae37eb6d374aec4127f1849a5dce81f812b5.tar.xz tmwa-b353ae37eb6d374aec4127f1849a5dce81f812b5.zip |
No one is .neutral() here (except IPv4 addresses)
Diffstat (limited to 'src/map/magic-expr.hpp')
-rw-r--r-- | src/map/magic-expr.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/magic-expr.hpp b/src/map/magic-expr.hpp index 1c4d00e..c5c63a5 100644 --- a/src/map/magic-expr.hpp +++ b/src/map/magic-expr.hpp @@ -29,6 +29,8 @@ # include "../strings/zstring.hpp" # include "../strings/literal.hpp" +# include "../mmo/fwd.hpp" + # include "magic-interpreter.t.hpp" /* @@ -83,7 +85,7 @@ void magic_copy_var(val_t *dest, val_t *src); void magic_random_location(location_t *dest, dumb_ptr<area_t> area); // ret -1: not a string, ret 1: no such item, ret 0: OK -int magic_find_item(Slice<val_t> args, int index, struct item *item, int *stackable); +int magic_find_item(Slice<val_t> args, int index, Item *item, int *stackable); # define GET_ARG_ITEM(index, dest, stackable) \ switch (magic_find_item(args, index, &dest, &stackable)) \ |