From b24d63a0d0d446b6dbbb92131cf7bc25746dbdba Mon Sep 17 00:00:00 2001 From: mqrause Date: Fri, 20 Dec 2024 15:43:28 +0100 Subject: [PATCH] clear npcs before terrain and vehicles --- tests/map_helpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/map_helpers.cpp b/tests/map_helpers.cpp index 837733d1dec4c..39643b6792a77 100644 --- a/tests/map_helpers.cpp +++ b/tests/map_helpers.cpp @@ -149,8 +149,8 @@ void clear_map( int zmin, int zmax ) clear_fields( z ); } clear_zones(); - wipe_map_terrain(); clear_npcs(); + wipe_map_terrain(); clear_creatures(); here.clear_traps(); for( int z = zmin; z <= zmax; ++z ) {