Skip to content

Commit

Permalink
Fix issue with single actor batch and casting raid event affecting sl…
Browse files Browse the repository at this point in the history
…eeping players.
  • Loading branch information
Collisionc committed Jan 31, 2017
1 parent 70daed3 commit df22a0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions engine/sim/sc_raid_event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -329,9 +329,9 @@ struct casting_event_t : public raid_event_t
virtual void _start() override
{
sim -> target -> debuffs.casting -> increment();
for ( size_t i = 0; i < sim -> player_list.size(); ++i )
for ( size_t i = 0; i < sim -> player_non_sleeping_list.size(); ++i )
{
player_t* p = sim -> player_list[ i ];
player_t* p = sim -> player_non_sleeping_list[ i ];
p -> interrupt();
}
}
Expand Down

0 comments on commit df22a0e

Please sign in to comment.