From 1d0e18a186f67844ccd873eabb56ebdaa3f47f11 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 25 May 2013 13:49:50 -0700 Subject: Switch block_list and subclasses to dumb_ptr Now we're well-defined, since we're actually calling ctors and dtors. Most of this code will not survive long ... --- src/map/atcommand.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/map/atcommand.hpp') diff --git a/src/map/atcommand.hpp b/src/map/atcommand.hpp index a226b76..7033972 100644 --- a/src/map/atcommand.hpp +++ b/src/map/atcommand.hpp @@ -3,12 +3,14 @@ #include "../common/const_array.hpp" -bool is_atcommand(const int fd, struct map_session_data *sd, +#include "map.hpp" + +bool is_atcommand(const int fd, dumb_ptr sd, const char *message, int gmlvl); int atcommand_config_read(const char *cfgName); -void log_atcommand(struct map_session_data *sd, const_string cmd); +void log_atcommand(dumb_ptr sd, const_string cmd); // only used by map.cpp extern char *gm_logfile_name; -- cgit v1.2.3-60-g2f50