Lowered sv_maxspeed to work around a CS:S bug with spectator. Fixed a rare case where removing weapons didn't work.

This commit is contained in:
Greyscale 2010-07-26 14:12:02 -07:00
parent 33a396af02
commit bd4d7776c4
2 changed files with 4 additions and 2 deletions

View File

@ -12,8 +12,8 @@
// ----------------------------------------------------------------------------
// The max speed of any player in the server (250 is normal speed). This is just a speed limit, and not the real players' speed.
// Default: "2000"
sv_maxspeed 2000
// Default: "1000"
sv_maxspeed 1000
// Amount of time, in minutes, zombies have to infect all humans.
// Default: "5"

View File

@ -877,6 +877,7 @@ stock WeaponsRemoveAllClientWeapons(client, bool:weaponsdrop)
{
// Strip knife.
RemovePlayerItem(client, weapons[x]);
RemoveEdict(weapons[x]);
continue;
}
@ -889,6 +890,7 @@ stock WeaponsRemoveAllClientWeapons(client, bool:weaponsdrop)
{
// Strip weapon.
RemovePlayerItem(client, weapons[x]);
RemoveEdict(weapons[x]);
}
}