This repository was archived by the owner on Apr 29, 2024. It is now read-only.

Description
When executing MSG_SHIP_CREATE the following bit of code is getting run:
|
if (pAP && pAP->GetAttributeAsDword("index", -1) >= 0) |
|
{ |
|
auto pVDat = static_cast<VDATA *>(core.GetScriptVariable("Characters")); |
|
if (pVDat) |
|
pVDat->Set(GetId(), pAP->GetAttributeAsDword("index", 0)); |
|
} |
Which appears to be replacing the entry for the character data with the character index?!?
Anyone has any idea why or how this is ever needed?