Crashes here:
Assertion failed: (old_index < nr_dests), function reorder_destinations,
file ../src/logic/map_objects/tribes/ship.cc, line 902.
With a Debugger I found...
Via the ReplayWriter game.cleanup_for_load(); is called
This in turn calls
void MapObject::remove(EditorGameBase& egbase)
void PortDock::cleanup(EditorGameBase& egbase) // why doing such a fuzz for a cleanup?
void Ship::pop_destination(Game& game, PortDock& pd)
void Ship::reorder_destinations(Game& game)
I assume there is some issue with the == Operator from OPtr<PortDock> optr(pair.first);
if (old_destinations[old_index].first == optr) {
break; // does not happen
}
This code does not really seem robust, but I still must find out what this OPtr thing is.
Maybe when loading Objects ar kind of cloned by the loading so the code fails?
Next one please check: https:/ /www.magentaclo ud.de/share/ tu4ayusx. k ShioCrash2.wgf
Crashes here: destinations, logic/map_ objects/ tribes/ ship.cc, line 902.
Assertion failed: (old_index < nr_dests), function reorder_
file ../src/
With a Debugger I found...
Via the ReplayWriter game.cleanup_ for_load( ); is called :remove( EditorGameBase& egbase) :cleanup( EditorGameBase& egbase) // why doing such a fuzz for a cleanup? destination( Game& game, PortDock& pd) destinations( Game& game)
This in turn calls
void MapObject:
void PortDock:
void Ship::pop_
void Ship::reorder_
I assume there is some issue with the == Operator from OPtr<PortDock> optr(pair.first);
if (old_destinatio ns[old_ index]. first == optr) {
break; // does not happen
}
This code does not really seem robust, but I still must find out what this OPtr thing is.
Maybe when loading Objects ar kind of cloned by the loading so the code fails?