Browse Source

Updated comments

TracyIntegration
Macoy Madson 5 years ago
parent
commit
34040fa035
  1. 2
      src/Abilities.cpp
  2. 3
      src/Gameplay.cpp

2
src/Abilities.cpp

@ -462,8 +462,6 @@ void FireBomb::EnemyActivate(Enemy* enemyActivator)
enemyAbilityDamagePlayer(enemyActivator, this);
// todo: should target player, not self
// if (rand() % DRAGON_
fireBombActivate(gameState.player.X, gameState.player.Y, this, false);
gameState.abilitiesUpdatingFx.push_back(this);

3
src/Gameplay.cpp

@ -279,7 +279,8 @@ bool PlayGame()
break;
// TODO: Reset before ship!
if (!playerDead && gameState.enableCheats)
if (!playerDead && gameState.enableCheats &&
(inp.isPressed(inputCode::LShift) || inp.isPressed(inputCode::RShift)))
{
// Set health to high number
if (gameInp.Tapped(inputCode::F1))

Loading…
Cancel
Save