summaryrefslogtreecommitdiff
path: root/src/map/chrif.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-23 21:44:50 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-23 21:44:50 -0700
commit6fc0f5f1c1704664e178430056376981520744b4 (patch)
treef1e9cff0f85c3a00fbd72c5d385c95ab0f04c2a1 /src/map/chrif.cpp
parent413cd3fbc5138512ade671907ece6457b7d98d56 (diff)
downloadtmwa-6fc0f5f1c1704664e178430056376981520744b4.tar.gz
tmwa-6fc0f5f1c1704664e178430056376981520744b4.tar.bz2
tmwa-6fc0f5f1c1704664e178430056376981520744b4.tar.xz
tmwa-6fc0f5f1c1704664e178430056376981520744b4.zip
Swat
Diffstat (limited to 'src/map/chrif.cpp')
-rw-r--r--src/map/chrif.cpp4
1 files changed, 1 insertions, 3 deletions
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);
}