mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
*********************************************************
* 2006/05/01 * * Madd Mugsy * * Developed in VS 2003 * ********************************************************* Source: - Added bullet tracers (& tracerEffect to AmmoTypes.xml) - Remedied IMP name saving, which didn't seem to upload properly Data: - Add bullet_tracer.sti to tilecache (will upload a full data folder w/new images at some point) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@45 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -5677,6 +5677,8 @@ BOOLEAN LoadTileGraphicForItem( INVTYPE *pItem, UINT32 *puiVo )
|
||||
VOBJECT_DESC VObjectDesc;
|
||||
UINT16 ubGraphic;
|
||||
|
||||
DebugMsg(TOPIC_JA2,DBG_LEVEL_3,String("LoadTileGraphicForItem"));
|
||||
|
||||
// CHECK SUBCLASS
|
||||
ubGraphic = pItem->ubGraphicNum;
|
||||
|
||||
@@ -5735,6 +5737,8 @@ BOOLEAN LoadTileGraphicForItem( INVTYPE *pItem, UINT32 *puiVo )
|
||||
|
||||
*puiVo = uiVo;
|
||||
|
||||
DebugMsg(TOPIC_JA2,DBG_LEVEL_3,String("LoadTileGraphicForItem: done"));
|
||||
|
||||
return( TRUE );
|
||||
}
|
||||
|
||||
@@ -7298,7 +7302,7 @@ void GetHelpTextForItem( INT16 * pzStr, OBJECTTYPE *pObject, SOLDIERTYPE *pSoldi
|
||||
// The next is for ammunition which gets the measurement 'rnds'
|
||||
else if (Item[ usItem ].usItemClass == IC_AMMO)
|
||||
{
|
||||
swprintf( (wchar_t *)pStr, L"%s [%d rnds]", ItemNames[ usItem ], sValue );
|
||||
swprintf( (wchar_t *)pStr, L"%s [%d rnds]", ItemNames[ usItem ], pObject->ubShotsLeft[0] );
|
||||
}
|
||||
// The final, and typical case, is that of an item with a percent status
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user