summaryrefslogtreecommitdiff
path: root/src/map/atcommand.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-05-25 13:49:50 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-05-25 13:49:50 -0700
commit1d0e18a186f67844ccd873eabb56ebdaa3f47f11 (patch)
tree94199c6dbcb6b4a86584c303f6e1e72073873f01 /src/map/atcommand.hpp
parent87218e07b2bc89593eae1cb4abe859cd1a7eaa0f (diff)
downloadtmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.tar.gz
tmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.tar.bz2
tmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.tar.xz
tmwa-1d0e18a186f67844ccd873eabb56ebdaa3f47f11.zip
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 ...
Diffstat (limited to 'src/map/atcommand.hpp')
-rw-r--r--src/map/atcommand.hpp6
1 files changed, 4 insertions, 2 deletions
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<map_session_data> 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<map_session_data> sd, const_string cmd);
// only used by map.cpp
extern char *gm_logfile_name;