Skip to content

Commit

Permalink
refactor: make arbitrary temperatures look arbitrary
Browse files Browse the repository at this point in the history
discussed in cataclysmbnteam#2570 (comment)

Co-authored-by: Coolthulhu <[email protected]>
  • Loading branch information
scarf005 and Coolthulhu committed Apr 6, 2023
1 parent 1cecb8b commit 5d4c7e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/behavior_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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" );
Expand Down

0 comments on commit 5d4c7e9

Please sign in to comment.