Bugfix from Flugente: enemies collapsing

-during the drug upkeep, the strength value of the soldiers was set to 1, which is why they were exhausted very fast by what little inventory they had

Also - Now we read in (and OR together) a variable number of AvailableAttachmentPoint tags from items.xml. 

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5238 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2012-04-30 05:11:35 +00:00
parent dafc7d8bec
commit 145c437857
3 changed files with 93 additions and 88 deletions
+1 -1
View File
@@ -541,7 +541,7 @@ itemEndElementHandle(void *userData, const XML_Char *name)
else if(strcmp(name, "AvailableAttachmentPoint") == 0)
{
pData->curElement = ELEMENT;
pData->curItem.ulAvailableAttachmentPoint = (UINT64) atof(pData->szCharData);
pData->curItem.ulAvailableAttachmentPoint |= (UINT64) atof(pData->szCharData);
}
else if(strcmp(name, "AttachmentPoint") == 0)
{