diff --git a/src/player_activity.cpp b/src/player_activity.cpp index 9dd7d3496829..8cd39e4f07f6 100644 --- a/src/player_activity.cpp +++ b/src/player_activity.cpp @@ -95,6 +95,8 @@ void player_activity::migrate_item_position( Character &guy ) void player_activity::set_to_null() { type = activity_id::NULL_ID(); + //Get rid of any safe references now + targets.clear(); sfx::end_activity_sounds(); // kill activity sounds when activity is nullified }