Game: Fix double BS multiplication

master
SmallJoker 2019-08-07 21:17:17 +02:00
parent 8ffe95913b
commit 0c533dc436
1 changed files with 1 additions and 1 deletions

View File

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