From 6fc0f5f1c1704664e178430056376981520744b4 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 23 Jun 2014 21:44:50 -0700 Subject: Swat --- src/map/chrif.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/map/chrif.cpp') diff --git a/src/map/chrif.cpp b/src/map/chrif.cpp index 2998516..3e20c3f 100644 --- a/src/map/chrif.cpp +++ b/src/map/chrif.cpp @@ -1249,8 +1249,6 @@ void chrif_parse(Session *s) static void send_users_tochar(TimerData *, tick_t) { - int users = 0; - if (!char_session) return; @@ -1272,7 +1270,7 @@ void send_users_tochar(TimerData *, tick_t) repeat_ff.push_back(info); } } - head_ff.users = users; + head_ff.users = repeat_ff.size(); send_vpacket<0x2aff, 6, 4>(char_session, head_ff, repeat_ff); } -- cgit v1.2.3-60-g2f50