Pets avoid a possible boulder pushing location in Sokoban
This commit is contained in:
@@ -1148,6 +1148,8 @@ dog_move(
|
||||
/* avoid a location hero just kicked */
|
||||
if (m_avoid_kicked_loc(mtmp, nx, ny))
|
||||
continue;
|
||||
if (m_avoid_soko_push_loc(mtmp, nx, ny))
|
||||
continue;
|
||||
|
||||
{
|
||||
/* Dog avoids harmful traps, but perhaps it has to pass one
|
||||
|
||||
Reference in New Issue
Block a user