diff --git a/PlayerController.cpp b/PlayerController.cpp index 31505b1..26c908d 100644 --- a/PlayerController.cpp +++ b/PlayerController.cpp @@ -115,7 +115,7 @@ void PlayerController::update() { bool shot = _player->fire(); if(shot) { - if(!_player->inCollision() && (_player->weaponName() == ObjectNameTag("shotgun"))) { + if(_player->weaponName() == ObjectNameTag("shotgun")) { _player->addVelocity(-camera->lookAt() * 30 * coeff); } }