Skip to content

Commit

Permalink
Hopefully fix zeds without stimulus in packs moving in one direction
Browse files Browse the repository at this point in the history
  • Loading branch information
Procyonae committed Apr 2, 2024
1 parent 5f643e2 commit 3f0d2ec
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/monmove.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,11 @@ void monster::plan()
}
if( mon_plan.swarms ) {
if( rating < 5 ) { // Too crowded here
wander_pos = get_location() + point( rng( 1, 3 ), rng( 1, 3 ) );
wander_pos = get_location()

Check failure on line 694 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / build (src)

expected ';' after expression [clang-diagnostic-error]

Check failure on line 694 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

expected ';' after expression
while( wander_pos == get_location() ) {
wander_pos.x = get_location().x + rng( -3, 3 );

Check failure on line 696 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / build (src)

reference to non-static member function must be called; did you mean to call it with no arguments? [clang-diagnostic-error]

Check failure on line 696 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / build (src)

reference to non-static member function must be called; did you mean to call it with no arguments? [clang-diagnostic-error]

Check failure on line 696 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

reference to non-static member function must be called; did you mean to call it with no arguments?

Check failure on line 696 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

reference to non-static member function must be called; did you mean to call it with no arguments?
wander_pos.y = get_location().y + rng( -3, 3 );

Check failure on line 697 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / build (src)

reference to non-static member function must be called; did you mean to call it with no arguments? [clang-diagnostic-error]

Check failure on line 697 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / build (src)

reference to non-static member function must be called; did you mean to call it with no arguments? [clang-diagnostic-error]

Check failure on line 697 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

reference to non-static member function must be called; did you mean to call it with no arguments?

Check failure on line 697 in src/monmove.cpp

View workflow job for this annotation

GitHub Actions / Basic Build and Test (Clang 10, Ubuntu, Curses)

reference to non-static member function must be called; did you mean to call it with no arguments?
}
wandf = 2;
mon_plan.target = nullptr;
// Swarm to the furthest ally you can see
Expand Down

0 comments on commit 3f0d2ec

Please sign in to comment.