From 5e9e119c76d1adb509fa8317eac4a4dcb3018544 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Sun, 30 Mar 2008 07:36:10 +0000 Subject: [PATCH] Fix for amb1545: show_activity was ignoring the last client --- plugins/include/amxmisc.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/include/amxmisc.inc b/plugins/include/amxmisc.inc index 53598e1d..3f307a2d 100755 --- a/plugins/include/amxmisc.inc +++ b/plugins/include/amxmisc.inc @@ -234,7 +234,7 @@ stock show_activity( id, const name[], const fmt[], any:... ) new __maxclients=get_maxplayers(); - for (new i=1; i<__maxclients; i++) + for (new i=1; i<=__maxclients; i++) { if (is_user_connected(i)) { @@ -249,7 +249,7 @@ stock show_activity( id, const name[], const fmt[], any:... ) { new __maxclients=get_maxplayers(); - for (new i=1; i<__maxclients; i++) + for (new i=1; i<=__maxclients; i++) { if (is_user_connected(i)) { @@ -264,7 +264,7 @@ stock show_activity( id, const name[], const fmt[], any:... ) { new __maxclients=get_maxplayers(); - for (new i=1; i<__maxclients; i++) + for (new i=1; i<=__maxclients; i++) { if (is_user_connected(i)) {