mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
several fixes (by Ocular)
http://www.ja-galaxy-forum.com/ubbthreads.php/topics/336357/[PATCH]_Minor_bug_fixes#Post336357 - wrong calculation for gear AP bonus - wrong display for max health damage - wrong use of TRAIN_MILITIA_MODIFIER modifier - wrong calculation for breath regeneration with unused AP git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7536 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+1
-2
@@ -10171,8 +10171,7 @@ INT16 GetGearAPBonus( SOLDIERTYPE * pSoldier )
|
||||
{
|
||||
OBJECTTYPE* pObj = &pSoldier->inv[j];
|
||||
|
||||
attachmentList::iterator iterend = (*pObj)[0]->attachments.begin();
|
||||
for (attachmentList::iterator iter = (*pObj)[0]->attachments.begin(); iter != iterend; ++iter)
|
||||
for (attachmentList::iterator iter = (*pObj)[0]->attachments.begin(); iter != (*pObj)[0]->attachments.end(); ++iter)
|
||||
{
|
||||
if(iter->exists())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user