From c70cd19edf25312b72add1279c4004fb3a87de52 Mon Sep 17 00:00:00 2001 From: Paul Date: Tue, 1 May 2001 21:59:49 +0000 Subject: [PATCH] --- source/player/player.cpp | 43 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/source/player/player.cpp b/source/player/player.cpp index 22864863b..7c352d883 100644 --- a/source/player/player.cpp +++ b/source/player/player.cpp @@ -588,6 +588,17 @@ if(newmode!=-1) { // Think updatePadInput(); + + // Trying to converate? + if(getPadInputDown()&PI_UP) + { + m_allowConversation=true; + } + else + { + m_allowConversation=false; + } + m_currentPlayerModeClass->think(); // Powerups @@ -782,17 +793,6 @@ else if(Pos.vy>m_mapEdge.vy-64)Pos.vy=m_mapEdge.vy-64; m_cameraPos.vy=m_mapCameraEdges.vy; } - // Trying to converate? - if(getPadInputDown()&PI_DOWN) - { - m_allowConversation=true; - } - else - { - m_allowConversation=false; - } - - CPlayerThing::think(_frames); } @@ -848,16 +848,13 @@ for(int i=0;i>sbanimspeed); - m_currentPlayerModeClass->render(&sbPos); - } + Pos.vx-m_cameraPos.vx, + Pos.vy-m_cameraPos.vy, + }; + renderSb(&sbPos,m_animNo,m_animFrame>>sbanimspeed); + m_currentPlayerModeClass->render(&sbPos); #ifdef _STATE_DEBUG_ @@ -1224,7 +1221,11 @@ void CPlayer::respawn() ---------------------------------------------------------------------- */ void CPlayer::renderSb(DVECTOR *_pos,int _animNo,int _animFrame) { - int addon; + POLY_FT4 *ft4; + int flash; + int addon; + + flash=m_invincibleFrameCount&2==2; // Render an addon? addon=s_addonNumbers[m_currentMode];