Skip to content

Commit

Permalink
Wrong syntax for scoped_weather_override.
Browse files Browse the repository at this point in the history
As mentioned before, I'm still learning regarding C++ differences
from C.
  • Loading branch information
actual-nh committed Mar 27, 2021
1 parent 49d5f24 commit c90ae42
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/monster_attack_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ TEST_CASE( "monster_attack" )
clear_map();
restore_on_out_of_scope<time_point> 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 ) {
Expand Down

0 comments on commit c90ae42

Please sign in to comment.