forked from Mirrorlandia_minetest/minetest
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 ItemStack &tool_item = player->getWieldedItem(&selected_item, &hand_item);
|
||||||
|
|
||||||
const ItemDefinition &selected_def = selected_item.getDefinition(itemdef_manager);
|
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;
|
core::line3d<f32> shootline;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user