mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-25 06:35:30 +00:00
added known spells and selected spell to NpcStats
This commit is contained in:
parent
bdbb8a8d84
commit
12f7bae526
@ -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…
x
Reference in New Issue
Block a user