Skip to content
Permalink
Browse files

Game: Fix double BS multiplication

  • Loading branch information...
SmallJoker committed Aug 7, 2019
1 parent 8ffe959 commit 0c533dc4363747c8ccb4a0f519516cc8ae73d3fa
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/client/game.cpp
@@ -2954,7 +2954,7 @@ void Game::processPlayerInteraction(f32 dtime, bool show_hud, bool show_debug)
const ItemStack &tool_item = player->getWieldedItem(&selected_item, &hand_item);

const ItemDefinition &selected_def = selected_item.getDefinition(itemdef_manager);
f32 d = BS * getToolRange(selected_def, hand_item.getDefinition(itemdef_manager));
f32 d = getToolRange(selected_def, hand_item.getDefinition(itemdef_manager));

core::line3d<f32> shootline;

0 comments on commit 0c533dc

Please sign in to comment.
You can’t perform that action at this time.