Hero movement affects water bubble direction

This commit is contained in:
Pasi Kallinen
2024-04-10 21:56:49 +03:00
parent 46370fc124
commit 62b78ba037
4 changed files with 27 additions and 1 deletions

View File

@@ -2506,8 +2506,10 @@ domove(void)
gd.domove_succeeded = 0L;
domove_core();
/* gd.domove_succeeded is available to make assessments now */
if ((gd.domove_succeeded & (DOMOVE_RUSH | DOMOVE_WALK)) != 0)
if ((gd.domove_succeeded & (DOMOVE_RUSH | DOMOVE_WALK)) != 0) {
maybe_smudge_engr(ux1, uy1, u.ux, u.uy);
maybe_adjust_hero_bubble();
}
gd.domove_attempting = 0L;
}