forked from teamnwah/openmw-tes3coop
added known spells and selected spell to NpcStats
This commit is contained in:
parent
bdbb8a8d84
commit
12f7bae526
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
#define GAME_MWMECHANICS_NPCSTATS_H
|
||||
|
||||
#include <map>
|
||||
#include <set>
|
||||
|
||||
#include "stat.hpp"
|
||||
|
||||
|
@ -25,6 +26,9 @@ namespace MWMechanics
|
|||
bool mSneak;
|
||||
bool mCombat;
|
||||
|
||||
std::set<std::string> mKnownSpells;
|
||||
std::string mSelectedSpell; // can be an empty string (no spell selected)
|
||||
|
||||
NpcStats() : mForceRun (false), mForceSneak (false), mRun (false), mSneak (false),
|
||||
mCombat (false) {}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue