uncommented code

This commit is contained in:
h4570
2022-08-18 23:55:23 +02:00
parent 3817eadc14
commit 1456a79135
4 changed files with 14 additions and 13 deletions
+3 -3
View File
@@ -35,9 +35,9 @@ PlayerShootAction Player::getShootAction() const {
PlayerShootAction action;
action.isShooting = weapon.isShooting;
// if (action.isShooting) {
action.ray = Ray(camera.position, camera.lookAt.getNormalized());
// }
if (action.isShooting) {
action.ray = Ray(camera.position, camera.lookAt.getNormalized());
}
return action;
}