Skip to content

Commit

Permalink
Simplify some arithmetic.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytheway committed Dec 31, 2019
1 parent 2569a21 commit 4075247
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/vision_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ TEST_CASE( "vision_wall_can_be_lit_by_player", "[shadowcasting][vision]" )

TEST_CASE( "vision_see_wall_in_moonlight", "[shadowcasting][vision]" )
{
const time_point full_moon = calendar::turn_zero + calendar::season_length() / 3 / 2;
const time_point full_moon = calendar::turn_zero + calendar::season_length() / 6;
// Verify that I've picked the full_moon time correctly.
CHECK( get_moon_phase( full_moon ) == MOON_FULL );

Expand Down

0 comments on commit 4075247

Please sign in to comment.