Skip to content

Commit 28f0ad3

Browse files
authored
Merge pull request #82251 from CleverRaven/negative_qual_butchery
Restore butchery with negative quality
2 parents 22f252e + e9a1635 commit 28f0ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/butchery.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ bool set_up_butchery( player_activity &act, Character &you, butchery_data bd )
236236
const mtype &corpse = *corpse_item.get_mtype();
237237

238238
if( bd.b_type != butcher_type::DISSECT ) {
239-
if( factor == 0 ) {
239+
if( factor == INT_MIN ) {
240240
you.add_msg_if_player( m_info,
241241
_( "None of your cutting tools are suitable for butchering." ) );
242242
act.set_to_null();

0 commit comments

Comments
 (0)