Fixed bug where wings displayed in wrong positino if you died while swimming

Started redrawing slug
This commit is contained in:
Rob Pearce 2008-11-09 21:18:14 +00:00
parent 98304f67c4
commit 453519b4ab
5 changed files with 8 additions and 0 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -13,6 +13,9 @@ monsters
1 2 28
1 5 2
7 3 4
50 32 13
49 9 13
1 12 23
endmonsters
exitdir 1
1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,

5
rc.c
View File

@ -1313,7 +1313,11 @@ void die(sprite_t *s) {
playmusic(normalmusic);
}
// turn off attributes
player->climbing = B_FALSE;
player->swimming = B_FALSE;
player->slamming = B_FALSE;
player->netting = B_FALSE;
// kill mask sprite
if (mask) {
@ -1327,6 +1331,7 @@ void die(sprite_t *s) {
/* lose a life */
player->lives--;
/* play sound */
playfx(FX_DIE);