Pets avoid a location hero just kicked
If hero kicks a location, pets and peacefuls will avoid moving into that location for that turn.
This commit is contained in:
@@ -1145,6 +1145,10 @@ dog_move(
|
||||
return MMOVE_NOTHING;
|
||||
}
|
||||
|
||||
/* avoid a location hero just kicked */
|
||||
if (m_avoid_kicked_loc(mtmp, nx, ny))
|
||||
continue;
|
||||
|
||||
{
|
||||
/* Dog avoids harmful traps, but perhaps it has to pass one
|
||||
* in order to follow player. (Non-harmful traps do not
|
||||
|
||||
Reference in New Issue
Block a user