summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-06-27 15:07:50 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-06-27 15:07:50 -0700
commitb0e26d0318c5c5f39c06a6c4b5dfea8ec7ebd01c (patch)
tree3e330e4776bab67aa8c6686b27df35deb5fea55a
parente7df670f4ed2a289bdedd6e6086e33b382067016 (diff)
downloadtmwa-b0e26d0318c5c5f39c06a6c4b5dfea8ec7ebd01c.tar.gz
tmwa-b0e26d0318c5c5f39c06a6c4b5dfea8ec7ebd01c.tar.bz2
tmwa-b0e26d0318c5c5f39c06a6c4b5dfea8ec7ebd01c.tar.xz
tmwa-b0e26d0318c5c5f39c06a6c4b5dfea8ec7ebd01c.zip
Count the number of online players again
I refactored two adjacent loops into one, but forgot to merge this!
-rw-r--r--src/char/char.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp
index bb0550b..d7e7a41 100644
--- a/src/char/char.cpp
+++ b/src/char/char.cpp
@@ -820,6 +820,7 @@ void create_online_files(void)
{
if (online_chars[&cd - &char_data.front()] == -1)
continue;
+ players++;
FPRINTF(fp2, " <tr>\n");
// displaying the character name
{