From c90ae42aa53023b0da65ee84d00a2e19744e6bc7 Mon Sep 17 00:00:00 2001 From: actual-nh Date: Sat, 27 Mar 2021 09:32:33 -0400 Subject: [PATCH] Wrong syntax for scoped_weather_override. As mentioned before, I'm still learning regarding C++ differences from C. --- tests/monster_attack_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/monster_attack_test.cpp b/tests/monster_attack_test.cpp index f2ce9aa9eba92..8fcad290d4f53 100644 --- a/tests/monster_attack_test.cpp +++ b/tests/monster_attack_test.cpp @@ -114,7 +114,7 @@ TEST_CASE( "monster_attack" ) clear_map(); restore_on_out_of_scope restore_calendar_turn( calendar::turn ); calendar::turn = daylight_time( calendar::turn ) + 2_hours; - scoped_weather_override( WEATHER_CLEAR ); + scoped_weather_override weather_clear( WEATHER_CLEAR ); SECTION( "attacking on open ground" ) { // Adjacent can attack of course. for( const tripoint &offset : eight_horizontal_neighbors ) {