Commit: 75a6c766063c6773840177d17d2ca2d5e9008100 Trac URL: http://developer.wz2100.net/changeset/75a6c766063c6773840177d17d2ca2d5e9008100
Author: Per Inge Mathisen <p...@wz2100.net> Date: Tue Nov 2 22:22:51 2010 +0100 Make armour work again. This closes ticket:2273 src/combat.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/combat.c b/src/combat.c index d0648af..9a97fdb 100644 --- a/src/combat.c +++ b/src/combat.c @@ -590,7 +590,7 @@ float objDamage(BASE_OBJECT *psObj, UDWORD damage, UDWORD originalhp, UDWORD wea } } - if (impactSide != HIT_SIDE_PIERCE) + if (impactSide == HIT_SIDE_PIERCE) { armour = 0; } ------------------------- ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Warzone2100-commits mailing list Warzone2100-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/warzone2100-commits