Skip to content

Commit

Permalink
Reset mount moves on dismount (#33461)
Browse files Browse the repository at this point in the history
* stop regeneration of moves instead of resetting on dismount
  • Loading branch information
davidpwbrown authored and kevingranade committed Aug 22, 2019
1 parent e888867 commit 3825c95
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/creature.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@ void Creature::process_turn()
reset_stats();

// add an appropriate number of moves
moves += get_speed();
if( !has_effect( effect_ridden ) ) {
moves += get_speed();
}
}

// MF_DIGS or MF_CAN_DIG and diggable terrain
Expand Down

0 comments on commit 3825c95

Please sign in to comment.