aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-07 16:01:07 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-07 16:01:07 +0100
commita9fa439d8412b2c682d512bfe9cc9322caa4336e (patch)
treef33d1441c79d23faaade744a7f1d2ba718562fbb /src/gameplay.cpp
parentreferences are weaird, man (diff)
downloadthreshold-a9fa439d8412b2c682d512bfe9cc9322caa4336e.tar.gz
threshold-a9fa439d8412b2c682d512bfe9cc9322caa4336e.tar.bz2
threshold-a9fa439d8412b2c682d512bfe9cc9322caa4336e.tar.xz
threshold-a9fa439d8412b2c682d512bfe9cc9322caa4336e.tar.zst
threshold-a9fa439d8412b2c682d512bfe9cc9322caa4336e.zip
adjust boss hp and add back fury
Diffstat (limited to '')
-rw-r--r--src/gameplay.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gameplay.cpp b/src/gameplay.cpp
index 0fdc67c..6180ae4 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -277,7 +277,7 @@ Game::shoot() const
if (player->currentWeapon->empty == true) {
return (0);
}
- player->currentWeapon->bang(enemies, player->direction, (Vector2){player->posX, player->posY}, &player->victims);
+ player->currentWeapon->bang(enemies, player);
if (player->currentWeapon->empty == true) {
player->reloadTime = GetTime();
}