diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 5a6dcb77..4f09dec8 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -173,7 +173,7 @@ void respawnself() void respawn() { - if(player1->state==CS_DEAD && lastmillis>player1->lastaction+(m_ctf ? 5000 : 2000)) + if(player1->state==CS_DEAD && lastmillis>player1->lastpain+(m_ctf ? 5000 : 2000)) { player1->attacking = false; if(m_arena) { conoutf("waiting for new round to start..."); return; } diff --git a/source/src/console.cpp b/source/src/console.cpp index 34f06407..6cd689fa 100644 --- a/source/src/console.cpp +++ b/source/src/console.cpp @@ -306,7 +306,6 @@ void keypress(int code, bool isdown, int cooked) commandbuf[len+1] = '\0'; } } - } } else