This commit is contained in:
Paul 2001-01-31 20:24:58 +00:00
parent 0ac227fabd
commit dd8242267a

View File

@ -276,7 +276,7 @@ m_cameraOffset=ofs;
Returns: Returns:
---------------------------------------------------------------------- */ ---------------------------------------------------------------------- */
int panim=-1; int panim=-1;
SVECTOR ppos={0,1024,5000}; DVECTOR ppos={0,1024};
void CPlayer::render() void CPlayer::render()
{ {
CThing::render(); CThing::render();
@ -284,7 +284,7 @@ void CPlayer::render()
// Render // Render
if(m_invincibleFrameCount==0||m_invincibleFrameCount&2) if(m_invincibleFrameCount==0||m_invincibleFrameCount&2)
{ {
m_skel.setPos(&ppos); m_skel.setPos(ppos);
if(panim!=-1) if(panim!=-1)
m_skel.setAnimNo(panim); m_skel.setAnimNo(panim);
else else