Original issue 115 created by sfiera on 2012-03-22T03:26:38.000Z:
In DestroyObject() in space-object.cpp, there is a section commented:
// if it's a destination, we keep anyone from thinking they have it as a destination
If (anObject->attributes & kIsDestination), it clears the target of all objects targeted at the destroyed one. This check is wrong; it should be using kCanBeDestination. As a result, if a ship is targeted at a ship which was destroyed, it will end up randomly targeting other objects which acquire the destroyed object's object number (typically projectiles, explosions, etc.).
This bug cannot be fixed without invalidating existing replays.
The text was updated successfully, but these errors were encountered: