Game: Fix double BS multiplication

This commit is contained in:
SmallJoker 2019-08-07 21:17:17 +02:00
parent 8ffe95913b
commit 0c533dc436

@ -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;