Skip to content

Commit 1570185

Browse files
committed
Add haul toggle to action menu when hauling
1 parent f32f21b commit 1570185

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/action.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -840,6 +840,10 @@ action_id handle_action_menu( map &here )
840840
}
841841
}
842842

843+
if( player_character.hauling ) {
844+
action_weightings[ACTION_HAUL_TOGGLE] = 300;
845+
}
846+
843847
// sort the map by its weightings
844848
std::vector<std::pair<action_id, int> > sorted_pairs;
845849
std::copy( action_weightings.begin(), action_weightings.end(),

0 commit comments

Comments
 (0)