mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 20:35:48 -04:00
changed numeric char type defs from char to signed char
This commit is contained in:
parent
49f68e08bf
commit
770276281b
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user