Skip to content

Commit

Permalink
[Gear] Fix debug assert - Free the states
Browse files Browse the repository at this point in the history
  • Loading branch information
Saeldur committed Dec 17, 2024
1 parent 7ec6c8b commit db8c0f6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions engine/player/unique_gear_thewarwithin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6513,6 +6513,15 @@ struct roaring_warqueen_citrine_t : public spell_t

if ( target_list().size() == 0 )
{
// We have no targets at all. Free state(s) and abandon ship.
if ( pre_execute_state )
{
action_state_t::release( pre_execute_state );
}
if ( execute_state )
{
action_state_t::release( execute_state );
}
return;
}

Expand Down

0 comments on commit db8c0f6

Please sign in to comment.