From b353ae37eb6d374aec4127f1849a5dce81f812b5 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 24 Jun 2014 18:52:00 -0700 Subject: No one is .neutral() here (except IPv4 addresses) --- src/map/magic-expr.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/map/magic-expr.hpp') 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); // ret -1: not a string, ret 1: no such item, ret 0: OK -int magic_find_item(Slice args, int index, struct item *item, int *stackable); +int magic_find_item(Slice args, int index, Item *item, int *stackable); # define GET_ARG_ITEM(index, dest, stackable) \ switch (magic_find_item(args, index, &dest, &stackable)) \ -- cgit v1.2.3-70-g09d2