summaryrefslogtreecommitdiff
path: root/src/map/clif.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-29 14:09:28 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-09-29 14:33:00 -0700
commitb16c4916e5fe2482558821d26ca016a6d05ee29e (patch)
treeac6157b9b059b04f8de3f444ab95cd95b41577e7 /src/map/clif.cpp
parent7d3ae87894ed07e5eb98726db20b4304b8073e0e (diff)
downloadtmwa-b16c4916e5fe2482558821d26ca016a6d05ee29e.tar.gz
tmwa-b16c4916e5fe2482558821d26ca016a6d05ee29e.tar.bz2
tmwa-b16c4916e5fe2482558821d26ca016a6d05ee29e.tar.xz
tmwa-b16c4916e5fe2482558821d26ca016a6d05ee29e.zip
Fix an old warning related to existing magic when a player logs in
Diffstat (limited to 'src/map/clif.cpp')
-rw-r--r--src/map/clif.cpp6
1 files changed, 6 insertions, 0 deletions
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<block_list> bl, dumb_ptr<map_session_data> 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",