summaryrefslogtreecommitdiffstats
path: root/game/client/world/player_target.cc
diff options
context:
space:
mode:
Diffstat (limited to 'game/client/world/player_target.cc')
-rw-r--r--game/client/world/player_target.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/game/client/world/player_target.cc b/game/client/world/player_target.cc
index 6da8129..a398eed 100644
--- a/game/client/world/player_target.cc
+++ b/game/client/world/player_target.cc
@@ -48,7 +48,8 @@ void world::player_target::update(void)
world::player_target::normal = voxel_pos();
world::player_target::info = nullptr;
} while(ray.distance < MAX_REACH);
- } else {
+ }
+ else {
world::player_target::voxel = NULL_VOXEL_ID;
world::player_target::coord = voxel_pos();
world::player_target::normal = voxel_pos();