From 1fd8901ef4384598af93afac824ac4d9d5764d20 Mon Sep 17 00:00:00 2001 From: andrei Date: Thu, 4 May 2023 13:48:42 +0300 Subject: [PATCH] tests/vision: maybe fix vision test? --- tests/monster_vision_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/monster_vision_test.cpp b/tests/monster_vision_test.cpp index e6860943a06e6..f7edd6243604d 100644 --- a/tests/monster_vision_test.cpp +++ b/tests/monster_vision_test.cpp @@ -26,7 +26,7 @@ TEST_CASE( "monsters shouldn't see through floors", "[vision]" ) restore_on_out_of_scope restore_fov_3d( fov_3d ); fov_3d = true; calendar::turn = midday; - clear_map(); + clear_map( -2, 1 ); monster &upper = spawn_and_clear( { 5, 5, 0 }, true ); monster &adjacent = spawn_and_clear( { 5, 6, 0 }, true ); monster &distant = spawn_and_clear( { 5, 3, 0 }, true );