projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-19990219-2
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 258c99a6517a72c65b3c205214920884a8483bcf..2626f2e4195c99b3aee3e5cd67de8e17502b7da2 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-460,8
+460,7
@@
void DrawPlayer(struct PlayerInfo *player)
int graphic, phase;
boolean player_is_moving = (last_jx != jx || last_jy != jy ? TRUE : FALSE);
int graphic, phase;
boolean player_is_moving = (last_jx != jx || last_jy != jy ? TRUE : FALSE);
- if (!player->active || player->gone ||
- !IN_SCR_FIELD(SCREENX(last_jx), SCREENY(last_jy)))
+ if (!player->active || !IN_SCR_FIELD(SCREENX(last_jx), SCREENY(last_jy)))
return;
#if DEBUG
return;
#if DEBUG
@@
-524,7
+523,7
@@
void DrawPlayer(struct PlayerInfo *player)
/* draw player himself */
/* draw player himself */
- if (game
_
emulation == EMU_SUPAPLEX)
+ if (game
.
emulation == EMU_SUPAPLEX)
{
static int last_dir = MV_LEFT;
int action = (player->programmed_action ? player->programmed_action :
{
static int last_dir = MV_LEFT;
int action = (player->programmed_action ? player->programmed_action :
@@
-649,7
+648,7
@@
void DrawPlayer(struct PlayerInfo *player)
phase = 7 - phase;
}
phase = 7 - phase;
}
- if (game
_
emulation == EMU_SUPAPLEX)
+ if (game
.
emulation == EMU_SUPAPLEX)
DrawGraphic(sx, sy, GFX_SP_DISK_RED);
else
DrawGraphicThruMask(sx, sy, graphic + phase);
DrawGraphic(sx, sy, GFX_SP_DISK_RED);
else
DrawGraphicThruMask(sx, sy, graphic + phase);