fix #H7352 - panic when floodfilling large areas
Special levels with FLAGS:inaccessibles could trigger a panic if a large enough area was subjected to floodfill handling. The buffer intended to be enough to hold an entire level wasn't big enough when individual coordinates were being added multiple times. I don't really understand what this code is doing but the recommended fix does work to prevent the panic. None of the levels included with 3.6.x were affected.
This commit is contained in:
@@ -81,6 +81,8 @@ succubus/incubus seduction might result in loss of levitation which in turn
|
||||
seduction was proceeding as if nothing unusual had happened
|
||||
#turn command which aggravated monsters did so without using a turn (not a pun)
|
||||
fix hole/trapdoor passage inconsistency when polymorphed into a giant
|
||||
making a wide-open special level with FLAGS:inaccessibles could trigger a
|
||||
"floodfill stack overrun" panic (no 3.6.x levels were affected)
|
||||
|
||||
|
||||
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository
|
||||
|
||||
Reference in New Issue
Block a user