summaryrefslogtreecommitdiffstats
path: root/game/client/world/player_target.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-07-01 03:23:05 +0500
committeruntodesu <kirill@untode.su>2025-07-01 03:23:05 +0500
commit6dc5194895b6bd61d19bf5c95021471784084325 (patch)
tree705c35b3a671a09fc52b406dca81e7761729ded6 /game/client/world/player_target.cc
parent44d91043f268d93dd08e99c5855bd29f85dd61a7 (diff)
downloadvoxelius-6dc5194895b6bd61d19bf5c95021471784084325.tar.bz2
voxelius-6dc5194895b6bd61d19bf5c95021471784084325.zip
I forgot to set these to true in .clang-format
https://files.catbox.moe/909rig.gif
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();