1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 16:29:55 +00:00

changed numeric char type defs from char to signed char

This commit is contained in:
Marc Zinnschlag 2010-09-30 13:56:22 +02:00
parent 49f68e08bf
commit 770276281b

View file

@ -68,7 +68,7 @@ struct ENAMstruct
// Which skills/attributes are affected (for restore/drain spells
// etc.)
char skill, attribute; // -1 if N/A
signed char skill, attribute; // -1 if N/A
// Other spell parameters
int range; // 0 - self, 1 - touch, 2 - target (RangeType enum)
@ -84,7 +84,7 @@ struct EffectList
void load(ESMReader &esm)
{
ENAMstruct s;
ENAMstruct s;
while(esm.isNextSub("ENAM"))
{
esm.getHT(s, 24);