Fix for Bob taking slime / lava damage.
This commit is contained in:
parent
9a18d03a39
commit
1073276c6f
|
@ -177,7 +177,7 @@ static void doAlive(void)
|
||||||
{
|
{
|
||||||
world.bob->outTimer = FPS * 3;
|
world.bob->outTimer = FPS * 3;
|
||||||
world.bob->stunTimer = 1;
|
world.bob->stunTimer = 1;
|
||||||
if (world.bob->flags & EF_IMMUNE)
|
if (!(world.bob->flags & EF_IMMUNE))
|
||||||
{
|
{
|
||||||
world.bob->health--;
|
world.bob->health--;
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ static void doAlive(void)
|
||||||
{
|
{
|
||||||
world.bob->outTimer = FPS * 3;
|
world.bob->outTimer = FPS * 3;
|
||||||
world.bob->stunTimer = 1;
|
world.bob->stunTimer = 1;
|
||||||
if (world.bob->flags & EF_IMMUNE)
|
if (!(world.bob->flags & EF_IMMUNE))
|
||||||
{
|
{
|
||||||
world.bob->health -= 2;
|
world.bob->health -= 2;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue