aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gameplay.cpp')
-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();
}