[Add] Forgot to change energy units of jammer.

This commit is contained in:
Allanis 2013-08-07 21:07:57 +01:00
parent 59fd6922f8
commit fe1ab6ea0f

View File

@ -536,6 +536,7 @@ static void outfit_parseSJammer(Outfit* tmp, const xmlNodePtr parent) {
} while(xml_nextNode(node)); } while(xml_nextNode(node));
tmp->u.jam.chance /= 100.; /* Put in per one, instead of percent. */ tmp->u.jam.chance /= 100.; /* Put in per one, instead of percent. */
tmp->u.jam.energy /= 60.; /* It's per minute. */
#define MELEMENT(o, s) \ #define MELEMENT(o, s) \
if(o) WARN("Outfit '%s' missing/invalid '"s"' element", tmp->name) if(o) WARN("Outfit '%s' missing/invalid '"s"' element", tmp->name)