This commit is contained in:
Paul 2001-07-20 16:29:47 +00:00
parent 5542262b4b
commit 84a1fdadcd

View file

@ -1255,7 +1255,7 @@ int panim=-1;
#ifdef _STATE_DEBUG_ #ifdef _STATE_DEBUG_
int stateDebugX=280; int stateDebugX=280;
int stateDebugY=60; int stateDebugY=180;
#endif #endif
#ifdef __USER_paul__ #ifdef __USER_paul__
@ -1268,7 +1268,7 @@ typedef struct
}POSMEM; }POSMEM;
static POSMEM lastpos[NUM_LASTPOS]; static POSMEM lastpos[NUM_LASTPOS];
static int lastposnum=0; static int lastposnum=0;
int drawlastpos=true; int drawlastpos=false;
#endif #endif
#ifdef __USER_paul__ #ifdef __USER_paul__
@ -1300,6 +1300,7 @@ if(PadGetDown(0)&PAD_R1)
{ {
lastpos[i]=clear; lastpos[i]=clear;
} }
drawlastpos=drawlastpos==true?false:true;
} }
if(Pos.vx!=lastpos[lastposnum].vx||Pos.vy!=lastpos[lastposnum].vy) if(Pos.vx!=lastpos[lastposnum].vx||Pos.vy!=lastpos[lastposnum].vy)
{ {