From 0a768e842faf9a69f576fc9ac92bfa1dd2533d5f Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 30 Jun 2014 22:02:27 -0700 Subject: Invulnerability should not be the default --- src/map/magic-stmt.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/map/magic-stmt.cpp') diff --git a/src/map/magic-stmt.cpp b/src/map/magic-stmt.cpp index cbd97a8..9aca511 100644 --- a/src/map/magic-stmt.cpp +++ b/src/map/magic-stmt.cpp @@ -919,12 +919,16 @@ int op_drop_item_for (dumb_ptr, Slice args) GET_ARG_ITEM(1, item, stackable); if (stackable) + { map_addflooritem_any(&item, count, loc->m, loc->x, loc->y, owners, delaytime, interval, 0); + } else + { while (count-- > 0) map_addflooritem_any(&item, 1, loc->m, loc->x, loc->y, owners, delaytime, interval, 0); + } return 0; } -- cgit v1.2.3-60-g2f50