From 770276281ba8604f9e3c346958c3b38adb4077bc Mon Sep 17 00:00:00 2001 From: Marc Zinnschlag Date: Thu, 30 Sep 2010 13:56:22 +0200 Subject: [PATCH] changed numeric char type defs from char to signed char --- components/esm/defs.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/esm/defs.hpp b/components/esm/defs.hpp index 82e798620..9a4cefa37 100644 --- a/components/esm/defs.hpp +++ b/components/esm/defs.hpp @@ -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);