mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
-attachments bugfix
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@477 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -23,7 +23,7 @@ INT16 zVersionLabel[256] = { L"Beta v. 0.98" };
|
||||
#else
|
||||
|
||||
//RELEASE BUILD VERSION
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.476" };
|
||||
INT16 zVersionLabel[256] = { L"Release v1.13.477" };
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2973,7 +2973,7 @@ void ItemDescAttachmentsCallback( MOUSE_REGION * pRegion, INT32 iReason )
|
||||
else
|
||||
{
|
||||
// ATE: Make sure we have enough AP's to drop it if we pick it up!
|
||||
if ( EnoughPoints( gpItemDescSoldier, ( AttachmentAPCost( gpItemPointer->usItem, gpItemDescObject->usItem ) + AP_PICKUP_ITEM ), 0, TRUE ) )
|
||||
if ( EnoughPoints( gpItemDescSoldier, ( AttachmentAPCost( gpItemDescObject->usAttachItem[uiItemPos], gpItemDescObject->usItem ) + AP_PICKUP_ITEM ), 0, TRUE ) )
|
||||
{
|
||||
// Get attachment if there is one
|
||||
// The follwing function will handle if no attachment is here
|
||||
|
||||
Reference in New Issue
Block a user