Fixed the player's 1 shield in Nightmare difficulty not being called low
This commit is contained in:
parent
93d6195a31
commit
775be7afb4
|
@ -51,7 +51,7 @@ void initPlayer()
|
||||||
|
|
||||||
player.hit = 0;
|
player.hit = 0;
|
||||||
|
|
||||||
engine.lowShield = (player.maxShield / 3);
|
engine.lowShield = (player.maxShield >= 3) ? (player.maxShield / 3) : 1;
|
||||||
engine.averageShield = engine.lowShield + engine.lowShield;
|
engine.averageShield = engine.lowShield + engine.lowShield;
|
||||||
|
|
||||||
if (player.weaponType[1] == W_CHARGER)
|
if (player.weaponType[1] == W_CHARGER)
|
||||||
|
|
Loading…
Reference in New Issue