pasiak12
Well-Known Member
- Joined
- Jun 7, 2009
- Messages
- 261
- Solutions
- 13
- Reaction score
- 71
I am using the OTX3 version
I am having strange sigsegv crash at random time and players can't really tell what is causing the crash.
Theres the gdb log:
[GDB] (gdb) bt full #0 0x0000000000795074 in Tile::hasProperty(ITEMPROPERTY) const - Pastebin.com
Seems like it is crashing while using some area combat spell at the hasPropety Tile function.
Has anyone met this problem before?
Thanks in advance
I am having strange sigsegv crash at random time and players can't really tell what is causing the crash.
Theres the gdb log:
[GDB] (gdb) bt full #0 0x0000000000795074 in Tile::hasProperty(ITEMPROPERTY) const - Pastebin.com
Seems like it is crashing while using some area combat spell at the hasPropety Tile function.
C++:
bool Tile::hasProperty(ITEMPROPERTY prop) const
{
if (ground && ground->hasProperty(prop)) {
return true;
}
if (const TileItemVector* items = getItemList()) {
for (const Item* item : *items) {
if (item)// I've put this just in case, but didnt help
if (item->hasProperty(prop)) {
return true;
}
}
}
return false;
}
Has anyone met this problem before?
Thanks in advance
Last edited: