This website requires JavaScript.
Explore
Help
Register
Sign In
luke
/
magic
mirror of
https://github.com/RTimothyEdwards/magic.git
Watch
1
Star
0
Fork
You've already forked magic
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
0e1086c4d6
magic
/
VERSION
2 lines
8 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Fixed the error that causes problems with the tile allocation. The error was in selStretchEraseFunc2() which was calling DBErase(). But DBErase() can call DBSrPaintArea() and thereby start another search of the same plane while the plane is already in a search. This is absolutely invalid. However, it is simple just to use selStretchEraseFunc2() to collect a mask of the types that need to be erased and pass that back to the caller, and apply DBErase() to each type in the mask, outside of the DBSrPaintArea() search. With this fix, the tile allocation is no longer causing problems, and the code to add tiles deallocated by TiJoinX and TiJoinY to the free tile list has been uncommented again.
2025-11-09 18:52:03 +01:00
8.3.576