From e1393ad2df81ade31ee468235b11c909417eb890 Mon Sep 17 00:00:00 2001 From: Marco Melletti Date: Sat, 6 Sep 2014 15:16:04 +0200 Subject: [PATCH] reputation sorted out --- components/esm/loadnpc.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/components/esm/loadnpc.hpp b/components/esm/loadnpc.hpp index 5e78432f6d..5ea9c995df 100644 --- a/components/esm/loadnpc.hpp +++ b/components/esm/loadnpc.hpp @@ -83,7 +83,7 @@ struct NPC // mSkill cang grow up to 200, it must be unsigned unsigned char mSkills[Skill::Length]; - // at opencs/model/tools/referenceablecheck.cpp:679 is assumed that negative reputation values are invalid, can we assume we won't find any negative value? + // reputation values does not char mUnknown1; unsigned short mHealth, mMana, mFatigue; signed char mDisposition, mReputation, mRank; @@ -94,10 +94,10 @@ struct NPC struct NPDTstruct12 { short mLevel; - unsigned char mReputation; // see NPTDstruct52.mReputation - signed char mDisposition, mRank; + // see above + signed char mReputation, mDisposition, mRank; char mUnknown1, mUnknown2, mUnknown3; - int mGold; // ?? not certain + int mGold; }; // 12 bytes struct Dest