mirror of
https://github.com/minetest/minetest.git
synced 2024-11-04 14:53:45 +01:00
Game: Fix double BS multiplication
This commit is contained in:
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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user