Skip to content

Commit 92066f2

Browse files
committed
Silence 'tried to set non-permanent morale'
This does not fix the bug, but it prevents it from occurring in the test. The bug is due in some way to trait interaction, and can be trivially reproduced by creating a world with magiclysm, selecting the goblin background, stripping naked, and letting boomers take shots at you.
1 parent f0811a6 commit 92066f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/projectile_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ TEST_CASE( "liquid_projectiles_applies_effect", "[projectile_effect]" )
106106

107107
npc &dummy = spawn_npc( next_to.xy(), "mi-go_prisoner" );
108108
dummy.clear_worn();
109+
dummy.clear_mutations();
109110

110111
REQUIRE( dummy.top_items_loc().empty() );
111112

0 commit comments

Comments
 (0)