From b16c4916e5fe2482558821d26ca016a6d05ee29e Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sun, 29 Sep 2013 14:09:28 -0700 Subject: Fix an old warning related to existing magic when a player logs in --- src/map/clif.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/map/clif.cpp b/src/map/clif.cpp index a42af8d..26c7f0c 100644 --- a/src/map/clif.cpp +++ b/src/map/clif.cpp @@ -2613,6 +2613,12 @@ void clif_getareachar(dumb_ptr bl, dumb_ptr sd) case BL::ITEM: clif_getareachar_item(sd, bl->as_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", -- cgit v1.2.3-60-g2f50