Fixed bug where wings displayed in wrong positino if you died while swimming
Started redrawing slug
This commit is contained in:
parent
98304f67c4
commit
453519b4ab
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 |
|
@ -13,6 +13,9 @@ monsters
|
||||||
1 2 28
|
1 2 28
|
||||||
1 5 2
|
1 5 2
|
||||||
7 3 4
|
7 3 4
|
||||||
|
50 32 13
|
||||||
|
49 9 13
|
||||||
|
1 12 23
|
||||||
endmonsters
|
endmonsters
|
||||||
exitdir 1
|
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,
|
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
5
rc.c
|
@ -1313,7 +1313,11 @@ void die(sprite_t *s) {
|
||||||
playmusic(normalmusic);
|
playmusic(normalmusic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// turn off attributes
|
||||||
player->climbing = B_FALSE;
|
player->climbing = B_FALSE;
|
||||||
|
player->swimming = B_FALSE;
|
||||||
|
player->slamming = B_FALSE;
|
||||||
|
player->netting = B_FALSE;
|
||||||
|
|
||||||
// kill mask sprite
|
// kill mask sprite
|
||||||
if (mask) {
|
if (mask) {
|
||||||
|
@ -1327,6 +1331,7 @@ void die(sprite_t *s) {
|
||||||
/* lose a life */
|
/* lose a life */
|
||||||
player->lives--;
|
player->lives--;
|
||||||
|
|
||||||
|
|
||||||
/* play sound */
|
/* play sound */
|
||||||
playfx(FX_DIE);
|
playfx(FX_DIE);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue