Fix for amb1545: show_activity was ignoring the last client

This commit is contained in:
Steve Dudenhoeffer 2008-03-30 07:36:10 +00:00
parent 2a383feef6
commit 5e9e119c76

View File

@ -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))
{