From 5d4c7e9aca13677aecd0566f888cb67e3e99b770 Mon Sep 17 00:00:00 2001 From: scarf Date: Fri, 7 Apr 2023 00:19:44 +0900 Subject: [PATCH] refactor: make arbitrary temperatures look arbitrary discussed in https://github.com/cataclysmbnteam/Cataclysm-BN/pull/2570#discussion_r1158759838 Co-authored-by: Coolthulhu --- tests/behavior_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/behavior_test.cpp b/tests/behavior_test.cpp index 715d6b838f48..4db39a587ec7 100644 --- a/tests/behavior_test.cpp +++ b/tests/behavior_test.cpp @@ -154,7 +154,7 @@ TEST_CASE( "check_npc_behavior_tree", "[npc][behavior]" ) CHECK( npc_needs.tick( &oracle ) == "idle" ); SECTION( "Freezing" ) { weather_manager &weather = get_weather(); - weather.temperature = -70_c; + weather.temperature = -100_c; weather.clear_temp_cache(); test_npc.update_bodytemp( get_map(), weather ); CHECK( npc_needs.tick( &oracle ) == "idle" );