Skip to content

Commit 3181775

Browse files
authored
Merge pull request #83089 from CleverRaven/teensy-horde-fix
Tiny cleanup to horde motion
2 parents 6ff9bd6 + f1488ed commit 3181775

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/overmap.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4304,8 +4304,9 @@ void overmap::move_hordes()
43044304
mon_end = hordes.end(); mon != mon_end; ) {
43054305
// This might have an issue where a monster prevented from acting possibly should
43064306
// get another chance to act?
4307-
if( mon->second.last_processed == calendar::turn ||
4308-
mon->second.get_type()->has_flag( mon_flag_DORMANT ) ) {
4307+
// This is here so that when a entity moves from one bucket to another it doesn't
4308+
// get a second set of moves.
4309+
if( mon->second.last_processed == calendar::turn ) {
43094310
mon++;
43104311
continue;
43114312
}

0 commit comments

Comments
 (0)