From b0e26d0318c5c5f39c06a6c4b5dfea8ec7ebd01c Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 27 Jun 2013 15:07:50 -0700 Subject: Count the number of online players again I refactored two adjacent loops into one, but forgot to merge this! --- src/char/char.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/char') 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, " \n"); // displaying the character name { -- cgit v1.2.3-60-g2f50