diff --git a/src/activity_item_handling.cpp b/src/activity_item_handling.cpp index 3c9e1a01a1b07..9d6130a2f1707 100644 --- a/src/activity_item_handling.cpp +++ b/src/activity_item_handling.cpp @@ -3518,8 +3518,8 @@ int get_auto_consume_moves( Character &you, const bool food ) if( best_comestible ) { //The moves it takes you to walk there and back. - int consume_moves = 2 * you.run_cost( 100, false ) * std::max( rl_dist( you.pos(), - best_comestible.position() ), 1 ); + int consume_moves = 2 * you.run_cost( 100, false ) * std::max( rl_dist( you.pos_bub(), + best_comestible.pos_bub() ), 1 ); consume_moves += to_moves( you.get_consume_time( *best_comestible ) ); you.consume( best_comestible );