[Fix] Missile resist should not be 100 times stronger. :/
This commit is contained in:
parent
115fa94cb8
commit
ea484174e0
@ -451,6 +451,10 @@ static void outfit_parseSAmmo(Outfit* tmp, const xmlNodePtr parent) {
|
|||||||
else if(xml_isNode(node, "damage"))
|
else if(xml_isNode(node, "damage"))
|
||||||
outfit_parseDamage(&tmp->u.amm.dtype, &tmp->u.amm.damage, node);
|
outfit_parseDamage(&tmp->u.amm.dtype, &tmp->u.amm.damage, node);
|
||||||
} while((node = node->next));
|
} while((node = node->next));
|
||||||
|
|
||||||
|
/* Post-processing. */
|
||||||
|
tmp->u.amm.resist /= 100.; /* Set it in per one. */
|
||||||
|
|
||||||
#define MELEMENT(o,s) if(o) WARN("Outfit '%s' missing '"s"' element", tmp->name)
|
#define MELEMENT(o,s) if(o) WARN("Outfit '%s' missing '"s"' element", tmp->name)
|
||||||
MELEMENT(tmp->u.amm.gfx_space == NULL, "gfx");
|
MELEMENT(tmp->u.amm.gfx_space == NULL, "gfx");
|
||||||
MELEMENT((sound_lock != NULL) && (tmp->u.amm.sound == 0), "sound");
|
MELEMENT((sound_lock != NULL) && (tmp->u.amm.sound == 0), "sound");
|
||||||
|
Loading…
Reference in New Issue
Block a user