mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fix: New IMP gear selection method: If identical items are selected in several slots, only those of one slot are given to the IMP
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8348 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-1
@@ -738,7 +738,7 @@ void StoreSelectedIMPGear()
|
|||||||
if ( usItem )
|
if ( usItem )
|
||||||
{
|
{
|
||||||
// add item (make sure it is at least 1)
|
// add item (make sure it is at least 1)
|
||||||
gIMPGearSelectedItems[usItem] = max(1, gIMPGearCount[i]);
|
gIMPGearSelectedItems[usItem] = max( 1, gIMPGearSelectedItems[usItem] + gIMPGearCount[i] );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user