-bugfix: merges not working

-bugfix: attachments not costing APs

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@479 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
MaddMugsy
2006-08-27 04:37:05 +00:00
parent fce528e1a4
commit 97d1204b9f
3 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
#else
//RELEASE BUILD VERSION
INT16 zVersionLabel[256] = { L"Release v1.13.478" };
INT16 zVersionLabel[256] = { L"Release v1.13.479" };
#endif
+1
View File
@@ -132,6 +132,7 @@ attachmentEndElementHandle(void *userData, const char *name)
//DebugMsg(TOPIC_JA2, DBG_LEVEL_3,"AttachmentStartElementHandle: writing attachment to array");
Attachment[pData->curIndex][0] = pData->curAttachment[0]; //write the attachment into the table
Attachment[pData->curIndex][1] = pData->curAttachment[1];
Attachment[pData->curIndex][2] = pData->curAttachment[2];
}
}
else if(strcmp(name, "attachmentIndex") == 0)
+2
View File
@@ -137,6 +137,8 @@ mergeEndElementHandle(void *userData, const char *name)
Merge[pData->curIndex][1] = pData->curMerge[1];
Merge[pData->curIndex][2] = pData->curMerge[2];
Merge[pData->curIndex][3] = pData->curMerge[3];
Merge[pData->curIndex][4] = pData->curMerge[4];
Merge[pData->curIndex][5] = pData->curMerge[5];
}
}
else if(strcmp(name, "firstItemIndex") == 0)