Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: src/fpsgame/server.cpp
- ===================================================================
- --- src/fpsgame/server.cpp (revision 2008)
- +++ src/fpsgame/server.cpp (working copy)
- @@ -1950,7 +1950,7 @@
- if(!gamepaused) gamemillis += curtime;
- if(m_demo) readdemo();
- - else if(!gamepaused && gamemillis < gamelimit)
- + else if(!gamepaused && (!m_timed || gamemillis < gamelimit))
- {
- processevents();
- if(curtime)
- @@ -1977,7 +1977,7 @@
- loopv(connects) if(totalmillis-connects[i]->connectmillis>15000) disconnect_client(connects[i]->clientnum, DISC_TIMEOUT);
- - if(nextexceeded && gamemillis > nextexceeded)
- + if(nextexceeded && gamemillis > nextexceeded && (!m_timed || gamemillis < gamelimit))
- {
- nextexceeded = 0;
- loopvrev(clients)
- @@ -2372,10 +2372,10 @@
- }
- if(cp)
- {
- - if(!ci->local && !m_edit && max(vel.magnitude2(), (float)fabs(vel.z)) >= 180)
- - cp->setexceeded();
- if((!ci->local || demorecord || hasnonlocalclients()) && (cp->state.state==CS_ALIVE || cp->state.state==CS_EDITING))
- {
- + if(!ci->local && !m_edit && max(vel.magnitude2(), (float)fabs(vel.z)) >= 180)
- + cp->setexceeded();
- cp->position.setsize(0);
- while(curmsg<p.length()) cp->position.add(p.buf[curmsg++]);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement