Unify Maximum supported clients, raised SDKTools limit (bug 5964, r=psychonic).

This commit is contained in:
Kyle Sanderson
2014-05-06 18:40:35 -07:00
parent 6f47b1a89d
commit b1901da79f
13 changed files with 26 additions and 30 deletions
+1 -1
View File
@@ -576,7 +576,7 @@ static cell_t SlapPlayer(IPluginContext *pContext, const cell_t *params)
{
char name[48];
const char *sound_name;
cell_t player_list[256], total_players = 0;
cell_t player_list[SM_MAXPLAYERS], total_players = 0;
int maxClients = playerhelpers->GetMaxClients();
int r = (rand() % s_sound_count) + 1;