M36 - can see through polymorphed boulder
The vision matrix was updated in the boulder->statue case, but not in the statue->boulder case.
This commit is contained in:
@@ -107,6 +107,7 @@ fix various places that "finally finished" could be displayed after the hero
|
||||
fix some cases where movement was disallowed but the hero was still conscious
|
||||
after destroying drawbridge, hero could appear to be in the wall
|
||||
sometimes shop items which hero is forced to buy could be sold back twice
|
||||
vision was not updated when polymorphing a statue into a boulder
|
||||
|
||||
|
||||
Platform- and/or Interface-Specific Fixes
|
||||
|
||||
@@ -1419,6 +1419,9 @@ no_unwear:
|
||||
if (obj_location == OBJ_FLOOR && obj->otyp == BOULDER &&
|
||||
otmp->otyp != BOULDER)
|
||||
unblock_point(obj->ox, obj->oy);
|
||||
else if (obj_location == OBJ_FLOOR && obj->otyp != BOULDER &&
|
||||
otmp->otyp == BOULDER)
|
||||
block_point(obj->ox, obj->oy);
|
||||
|
||||
/* ** we are now done adjusting the object ** */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user