Mercurial > mm7
diff Player.cpp @ 1062:e23a79658fc5
some BYTE errors fixed
author | zipi |
---|---|
date | Fri, 24 May 2013 00:44:51 +0100 |
parents | efe228ab5003 |
children | 938af16d5b88 |
line wrap: on
line diff
--- a/Player.cpp Thu May 23 22:07:17 2013 +0100 +++ b/Player.cpp Fri May 24 00:44:51 2013 +0100 @@ -5221,8 +5221,8 @@ if ((v28 < 0) || v28 > 2 ) return v5 + v62 + v61; } - v15 = pItemsTable->pItems[v29].uDamageMod; - v14 = pItemsTable->pItems[v29].uDamageDice * pItemsTable->pItems[v29].uDamageRoll; + v15 = pItemsTable->pItems[v23].uDamageMod; + v14 = pItemsTable->pItems[v23].uDamageDice * pItemsTable->pItems[v23].uDamageRoll; v5 += v15 + v14; return v5 + v62 + v61; }