# HG changeset patch # User Adam Kaminski # Date 1632010592 14400 # Sat Sep 18 20:16:32 2021 -0400 # Node ID ec067ae019cda545aaef3a9dd3eb1da5058568a2 # Parent 80476b66a33d1b48769bf9c5de60cc41e4fcbc66 The second argument for GAMEEVENT_ACTOR_DAMAGED now stores a dynamic ACS string containing the damage type an actor received. diff -r 80476b66a33d -r ec067ae019cd src/p_interaction.cpp --- a/src/p_interaction.cpp Sat Sep 18 20:14:01 2021 -0400 +++ b/src/p_interaction.cpp Sat Sep 18 20:16:32 2021 -0400 @@ -1678,7 +1678,7 @@ target->master = source; target->target = inflictor; - GAMEMODE_HandleEvent( GAMEEVENT_ACTOR_DAMAGED, target, damage ); + GAMEMODE_HandleEvent( GAMEEVENT_ACTOR_DAMAGED, target, damage, GlobalACSStrings.AddString( mod )); // [AK] Restore the source actor's old pointers. target->master = tempMaster;