diff options
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r-- | src/char_sql/char.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c index e48ecc9e4..3838d0c1f 100644 --- a/src/char_sql/char.c +++ b/src/char_sql/char.c @@ -3280,7 +3280,7 @@ int broadcast_user_count(int tid, unsigned int tick, int id, int data) int users = count_users(); // only send an update when needed - static prev_users = 0; + static int prev_users = 0; if( prev_users == users ) return 0; prev_users = users; |