diff --git a/source/player/player.cpp b/source/player/player.cpp index 23d53c23a..2bef0545b 100644 --- a/source/player/player.cpp +++ b/source/player/player.cpp @@ -763,10 +763,13 @@ if(newmode!=-1) } // Stop the player vanishing off the edge of the telly.. - if(Pos.vxm_playerPosLimitBox.x2) Pos.vx=m_playerPosLimitBox.x2; - if(Pos.vym_playerPosLimitBox.y2) Pos.vy=m_playerPosLimitBox.y2; + if(!m_lockCamera) + { + if(Pos.vxm_playerPosLimitBox.x2) Pos.vx=m_playerPosLimitBox.x2; + if(Pos.vym_playerPosLimitBox.y2) Pos.vy=m_playerPosLimitBox.y2; + } // Look around int pad=getPadInputHeld(); diff --git a/source/player/pmdead.cpp b/source/player/pmdead.cpp index 66318848b..2cb9aa91e 100644 --- a/source/player/pmdead.cpp +++ b/source/player/pmdead.cpp @@ -75,7 +75,7 @@ void CPlayerModeDead::think() m_player->setAnimFrame(m_deadTime); } -m_player->moveVertical(5); + m_player->moveVertical(5); if((m_deadTime>DEATH_DELAY&&m_player->getPadInputDown()&PI_FIRE)|| m_deadTime>DEATH_TIMEOUT)