diff options
author | salaaad2 <arthurdurant263@gmail.com> | 2022-01-11 16:46:23 +0100 |
---|---|---|
committer | salaaad2 <arthurdurant263@gmail.com> | 2022-01-11 16:46:23 +0100 |
commit | 05c565ec70ad24d85b0eaee8f932374c0b5fc813 (patch) | |
tree | 1e2a8fe4bd09beefcc00280b381bf35e6d71db91 /src/gameplay.cpp | |
parent | mouselook just needed some sleep ! cool (diff) | |
download | threshold-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.cpp | 2 |
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); |