From 506a41d6926405b2753894f0b40130b4077828b3 Mon Sep 17 00:00:00 2001 From: wushin Date: Tue, 9 Jun 2015 01:06:22 -0500 Subject: Remove old Magic --- src/map/clif.cpp | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'src/map/clif.cpp') diff --git a/src/map/clif.cpp b/src/map/clif.cpp index a2a2a33..33de3e6 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -62,8 +62,6 @@ #include "globals.hpp" #include "intif.hpp" #include "itemdb.hpp" -#include "magic.hpp" -#include "magic-stmt.hpp" #include "map.hpp" #include "map_conf.hpp" #include "npc.hpp" @@ -2641,12 +2639,6 @@ void clif_getareachar(dumb_ptr bl, dumb_ptr sd) case BL::ITEM: clif_getareachar_item(sd, bl->is_item()); break; - case BL::SPELL: - // spell objects are not visible - // (at least, I *think* that's what this code is for) - // in any case, this is not a behavior change, just silencing - // the below warning - break; default: if (battle_config.error_log) PRINTF("get area char ??? %d\n"_fmt, @@ -3792,7 +3784,6 @@ RecvResult clif_parse_GetCharNameRequest(Session *s, dumb_ptr send_fpacket<0x0095, 30>(s, fixed_95); } break; - // case BL::SPELL default: if (battle_config.error_log) PRINTF("clif_parse_GetCharNameRequest : bad type %d (%d)\n"_fmt, @@ -4273,8 +4264,8 @@ RecvResult clif_parse_TakeItem(Session *s, dumb_ptr sd) || abs(sd->bl_y - fitem->bl_y) >= 2) return rv; // too far away to pick up - if (sd->state.shroud_active && sd->state.shroud_disappears_on_pickup) - magic::magic_unshroud(sd); +// if (sd->state.shroud_active && sd->state.shroud_disappears_on_pickup) +// magic_unshroud(sd); pc_takeitem(sd, fitem); -- cgit v1.2.3-60-g2f50