HYPNO: implemented infinite health for arcade sequences in spider

This commit is contained in:
neuromancer 2022-04-27 21:11:14 +02:00
parent c1ee795b8d
commit 26369c7de4

View File

@ -118,7 +118,8 @@ void SpiderEngine::missedTarget(Shoot *s, ArcadeShooting *arc) {
if (_arcadeMode != "YC" && _arcadeMode != "YD")
return;
if ((uint32)(s->name[0]) == _currentPlayerPosition) {
_health = _health - s->attackWeight;
if (!_infiniteHealthCheat)
_health = _health - s->attackWeight;
hitPlayer();
}
}