small cleanup / fixes

git-svn-id: https://clonekeenplus.svn.sourceforge.net/svnroot/clonekeenplus/cgenius/trunk@92 4df4b0f3-56ce-47cb-b001-ed939b7d65a6
This commit is contained in:
albertzeyer
2009-07-22 16:26:22 +00:00
parent 08d3aa20a0
commit 74c1f1692b
2 changed files with 2 additions and 6 deletions

View File

@@ -1368,15 +1368,12 @@ unsigned int p;
int x,y,i;
int boxY, boxH;
int boxtimer;
int ep3;
stLevelControl *p_levelcontrol;
p_levelcontrol = &(pCKP->Control.levelcontrol);
stLevelControl *p_levelcontrol = &pCKP->Control.levelcontrol;
// on episode 3 we have to subtract one from the map tiles
// because the tiles start at 31, not 32 like on the other eps
ep3 = 0;
int ep3 = 0;
if (p_levelcontrol->episode==3) ep3 = 1;
#define KEENSLEFT_TIME 400