Skip to content

Commit

Permalink
maybe this will help
Browse files Browse the repository at this point in the history
  • Loading branch information
fdChasm committed Jun 1, 2010
1 parent add6e57 commit e5d53d1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/fpsgame/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1847,6 +1847,7 @@ namespace server

case SV_SHOOT:
{
incrementrecentpacketcount(ci);
shotevent *shot = new shotevent;
shot->id = getint(p);
shot->millis = cq ? cq->geteventmillis(gamemillis, shot->id) : 0;
Expand Down Expand Up @@ -1983,7 +1984,6 @@ namespace server
case SV_MAPVOTE:
case SV_MAPCHANGE:
{
incrementrecentpacketcount(cq);
getstring(text, p);
filtertext(text, text);
int reqmode = getint(p);
Expand Down Expand Up @@ -2076,7 +2076,6 @@ namespace server

case SV_CLEARBANS:
{
incrementrecentpacketcount(cq);
SbPy::triggerEventInt("server_clear_bans", ci->clientnum);
break;
}
Expand All @@ -2094,7 +2093,6 @@ namespace server

case SV_SPECTATOR:
{
incrementrecentpacketcount(ci);
int spectator = getint(p), val = getint(p);
// if(!ci->privilege && !ci->local && (spectator!=sender || (ci->state.state==CS_SPECTATOR && mastermode>=MM_LOCKED))) break;
clientinfo *spinfo = (clientinfo *)getclientinfo(spectator); // no bots
Expand Down Expand Up @@ -2135,7 +2133,6 @@ namespace server

case SV_RECORDDEMO:
{
incrementrecentpacketcount(ci);
int val = getint(p);
SbPy::triggerEventIntBool("player_record_demo", ci->clientnum, val != 0);
/*
Expand Down

0 comments on commit e5d53d1

Please sign in to comment.