Gloves & Cloak Enchant Null Pointer
by
Levva, 1240741574|%e %b %Y
Running EnhSim under a debugger I note in enhsim.cpp v1.7.0 line 1007
if (gloves_enchant_) {
gloves_enchant_->use();
}
if (cloak_enchant_) {
cloak_enchant_->use();
}
is failing due to null pointer exceptions it needs an initialisation in the block at the start. Adding in
gloves_enchant_(0),
cloak_enchant_(0),
at line 35 fixed the issue.






Thanks for noticing this, this one is definately (one of) the reason for the crashes people have been experiencing.
Post preview:
Close preview