Lyle-Tafoya / Omega

My C++ fork of the 1987 roguelike "Omega"
GNU General Public License v3.0
29 stars 3 forks source link

Random crash bug when entering the world map from the druid's temple #18

Closed Lyle-Tafoya closed 1 year ago

Lyle-Tafoya commented 1 year ago

I had just requested a ritual of neutralization. Probably unrelated. Hopefully we can catch this in gdb to debug properly later.

Lyle-Tafoya commented 1 year ago

Bug has nothing to do with ritual of neutralization. Crash occurs on the following line: https://github.com/Lyle-Tafoya/Omega/blob/main/movef.cpp#L403 Bug introduced in commit 1142dbd It's unclear why this bug does not occur every time the player moves on the world map, but the solution should be as straightforward as performing a check to make sure the player is not in the countryside