mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-11-25 02:12:19 -05:00
Fix indent
This commit is contained in:
parent
872c271b02
commit
f035da7a05
21
main.c
21
main.c
@ -2521,19 +2521,18 @@ void SFG_updateLevel()
|
|||||||
|
|
||||||
if (state == SFG_MONSTER_STATE_DYING)
|
if (state == SFG_MONSTER_STATE_DYING)
|
||||||
{
|
{
|
||||||
|
if (SFG_MR_TYPE(*monster) == SFG_LEVEL_ELEMENT_MONSTER_ENDER)
|
||||||
|
{
|
||||||
|
SFG_currentLevel.bossCount--;
|
||||||
|
|
||||||
if (SFG_MR_TYPE(*monster) == SFG_LEVEL_ELEMENT_MONSTER_ENDER)
|
// last boss killed gives player a key card
|
||||||
{
|
|
||||||
SFG_currentLevel.bossCount--;
|
|
||||||
|
|
||||||
// last boss killed gives player a key card
|
if (SFG_currentLevel.bossCount == 0)
|
||||||
|
{
|
||||||
if (SFG_currentLevel.bossCount == 0)
|
SFG_LOG("boss killed, giving player a card");
|
||||||
{
|
SFG_player.cards |= 0x04;
|
||||||
SFG_LOG("boss killed, giving player a card");
|
}
|
||||||
SFG_player.cards |= 0x04;
|
}
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// remove dead
|
// remove dead
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user