Skip to content

Commit

Permalink
Update src/magic_spell_effect.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
alef and github-actions[bot] authored Dec 27, 2023
1 parent ef201d6 commit 0ea74c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/magic_spell_effect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1654,7 +1654,7 @@ void spell_effect::dash( const spell &sp, Creature &caster, const tripoint &targ
if( caster_you != nullptr ) {
if( creatures.creature_at( here.getlocal( *walk_point ) ) ||
!g->walk_move( here.getlocal( *walk_point ), false ) ) {
if (walk_point != trajectory.begin()) {
if( walk_point != trajectory.begin() ) {
--walk_point;
}
break;
Expand Down

0 comments on commit 0ea74c3

Please sign in to comment.