Skip to content

Commit

Permalink
More useful health up
Browse files Browse the repository at this point in the history
  • Loading branch information
albertvaka committed Mar 4, 2024
1 parent 16a2526 commit 3f745de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/healthup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void HealthUp::Update(float dt)

Player* player = Player::instance();
if (!pickedUp && Collide(Bounds(), player->CollisionBounds())) {
player->HealthUp();
player->HealthUp(5);
pickedUp = true;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/scene_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ extern bool mainClockPaused;
const float kCamSpeed = 2000.f;
const float kCamZoomSpeed = 0.2f;

const int kPlayerInitialHealth = 20;
const int kPlayerInitialHealth = 10;

const char* kSaveStateGameName = "gaem2020";

Expand Down

0 comments on commit 3f745de

Please sign in to comment.