#2844 Assertion failure simulating distortion damage

open
nobody
Items (65)
5
2009-11-28
2009-11-28
Anonymous
No

Running fsim with a wielded distortion weapon causes an assertion failure every time. A quick glance has me thinking that it's due to fsim not checking for the presence of the punching bag before attacking, but I could be wrong. The assertion seems to be checking for the presence of a monster before trying to read monster data. Perhaps the simulator should cache monster data?

ASSERT(smc) in 'mon-util.cc' at line 440 failed.
Program received signal SIGSEGV, Segmentation fault.
_BreakStrToDebugger (expr=0xafc429 "smc", file=<value optimized out>,
line=440) at dbg-asrt.cc:637
637 *p = 0;

Tested in 0.4.5 and recentish master, so this has been around for a while.

Discussion


Log in to post a comment.