mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
-added code for enemies to carry money items / wallets w/actual deposit-able cash
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@173 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -4699,7 +4699,7 @@ BOOLEAN CreateItem( UINT16 usItem, INT8 bStatus, OBJECTTYPE * pObj )
|
||||
{
|
||||
pObj->usItem = usItem;
|
||||
pObj->ubNumberOfObjects = 1;
|
||||
if (usItem == MONEY)
|
||||
if (usItem == MONEY || Item[usItem].usItemClass == IC_MONEY )
|
||||
{
|
||||
// special case... always set status to 100 when creating
|
||||
// and use status value to determine amount!
|
||||
|
||||
Reference in New Issue
Block a user