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