Don't allow "Press t to continue" if we're executing a whiteboard move.

Fixes bug #19744.
This commit is contained in:
J. Tyne 2012-07-19 05:13:02 +00:00
parent ad7b39687b
commit e6c069bb87

View File

@ -3575,8 +3575,10 @@ public:
if ( move_it_.valid() ) {
// Update the moving unit.
move_it_->set_interrupted_move(sighted_stop_ ? *(full_end_-1) :
map_location::null_location);
move_it_->set_interrupted_move(
sighted_stop_ && !resources::whiteboard->is_executing_actions() ?
*(full_end_-1) :
map_location::null_location);
if ( ambushed_ || final_hex() == zoc_stop_ )
move_it_->set_movement(0);