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/tmw.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/map/tmw.hpp') diff --git a/src/map/tmw.hpp b/src/map/tmw.hpp index d64f45e..26446b9 100644 --- a/src/map/tmw.hpp +++ b/src/map/tmw.hpp @@ -2,8 +2,11 @@ #define TMW_HPP #include "../common/const_array.hpp" +#include "../common/dumb_ptr.hpp" -int tmw_CheckChatSpam(struct map_session_data *sd, const char *message); +#include "map.hpp" + +int tmw_CheckChatSpam(dumb_ptr sd, const char *message); void tmw_GmHackMsg(const_string line); void tmw_TrimStr(char *str); -- cgit v1.2.3-60-g2f50