From bafcb48f37e7e6d23d34288c791b4f660cf642a4 Mon Sep 17 00:00:00 2001 From: stian853 Date: Mon, 4 Dec 2023 09:33:29 +0100 Subject: [PATCH] Added point scaling --- src/States.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/States.cc b/src/States.cc index 3b84a1a..fdfd535 100644 --- a/src/States.cc +++ b/src/States.cc @@ -121,7 +121,7 @@ void Game_state::update(Context &context) if (player->collides(*helper)) { - points += player->get_collected(); + points += player->get_collected() + floor(player->get_collected() / 3.0f); player->zero_collected(); player->collision(*helper); -- 2.30.2