XEEN: Remove map load assert to allow Northern Sphinx map to load
This commit is contained in:
parent
8648a48080
commit
c9460d1340
2 changed files with 1 additions and 3 deletions
|
@ -463,8 +463,6 @@ void MonsterObjectData::synchronize(XeenSerializer &s, MonsterData &monsterData)
|
||||||
if (obj._id < (int)_objectSprites.size()) {
|
if (obj._id < (int)_objectSprites.size()) {
|
||||||
obj._spriteId = _objectSprites[obj._id]._spriteId;
|
obj._spriteId = _objectSprites[obj._id]._spriteId;
|
||||||
obj._sprites = &_objectSprites[obj._id]._sprites;
|
obj._sprites = &_objectSprites[obj._id]._sprites;
|
||||||
} else {
|
|
||||||
assert(!obj._id);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
_objects.push_back(obj);
|
_objects.push_back(obj);
|
||||||
|
|
|
@ -1617,7 +1617,7 @@ bool Scripts::ifProc(int action, uint32 val, int mode, int charIndex) {
|
||||||
v = party._gems;
|
v = party._gems;
|
||||||
break;
|
break;
|
||||||
case 37:
|
case 37:
|
||||||
// Might bonus (extra beond base)
|
// Might bonus (extra beyond base)
|
||||||
v = ps->_might._temporary;
|
v = ps->_might._temporary;
|
||||||
break;
|
break;
|
||||||
case 38:
|
case 38:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue