aboutsummaryrefslogtreecommitdiffstats
path: root/src/gameplay.cpp
diff options
context:
space:
mode:
authorsalaaad2 <arthurdurant263@gmail.com>2022-01-11 16:46:23 +0100
committersalaaad2 <arthurdurant263@gmail.com>2022-01-11 16:46:23 +0100
commit05c565ec70ad24d85b0eaee8f932374c0b5fc813 (patch)
tree1e2a8fe4bd09beefcc00280b381bf35e6d71db91 /src/gameplay.cpp
parentmouselook just needed some sleep ! cool (diff)
downloadthreshold-05c565ec70ad24d85b0eaee8f932374c0b5fc813.tar.gz
threshold-05c565ec70ad24d85b0eaee8f932374c0b5fc813.tar.bz2
threshold-05c565ec70ad24d85b0eaee8f932374c0b5fc813.tar.xz
threshold-05c565ec70ad24d85b0eaee8f932374c0b5fc813.tar.zst
threshold-05c565ec70ad24d85b0eaee8f932374c0b5fc813.zip
mouselook on shotgun
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 d846373..3a3d09b 100644
--- a/src/gameplay.cpp
+++ b/src/gameplay.cpp
@@ -222,7 +222,7 @@ int Game::tick() const
if (en->hp != 0 && // check for player death (one shot one kill)
CheckCollisionCircles((Vector2){player->posX, player->posY}, 10,
(Vector2){en->posX, en->posY}, 40)) {
- return (1);
+ std::cout << "cool" << std::endl;
}
}
return (0);