From 8f820735e5cfb8b96bd9f0218d9f70afecf6364a Mon Sep 17 00:00:00 2001 From: jc_gargma Date: Sun, 30 Jan 2022 19:18:48 -0800 Subject: Fix more patch fuzz warnings in fix malnourishment patch. --- jc_stop-non-faction-npc-malnourishment.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'jc_stop-non-faction-npc-malnourishment.patch') diff --git a/jc_stop-non-faction-npc-malnourishment.patch b/jc_stop-non-faction-npc-malnourishment.patch index e197713..096a5a8 100644 --- a/jc_stop-non-faction-npc-malnourishment.patch +++ b/jc_stop-non-faction-npc-malnourishment.patch @@ -17,7 +17,7 @@ static constexpr float MAX_FLOAT = 5000000000.0f; @@ -3856,6 +3864,13 @@ // TODO: Remove this and let player "exploit" hungry NPCs - set_stored_kcal( max_stored_kcal() ); + set_hunger( 0 ); set_thirst( 0 ); + vitamin_set( vitamin_calcium, 0 ); + vitamin_set( vitamin_iron, 0 ); @@ -27,5 +27,5 @@ + vitamin_set( vitamin_mutant_toxin, 0 ); + vitamin_set( vitamin_bad_food, 0 ); } - return false; - } + } else { + for( const auto &food_item : inv_food ) { -- cgit v1.2.1