mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-09 03:57:51 +03:00
Merge remote-tracking branch 'dteviot/FixWarnings'
This commit is contained in:
commit
ba482fa41f
65 changed files with 105 additions and 101 deletions
|
@ -10,7 +10,7 @@ namespace ESM {
|
|||
|
||||
void Creature::load(ESMReader &esm)
|
||||
{
|
||||
mPersistent = esm.getRecordFlags() & 0x0400;
|
||||
mPersistent = (esm.getRecordFlags() & 0x0400) != 0;
|
||||
|
||||
mAiPackage.mList.clear();
|
||||
mInventory.mList.clear();
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace ESM
|
|||
|
||||
void NPC::load(ESMReader &esm)
|
||||
{
|
||||
mPersistent = esm.getRecordFlags() & 0x0400;
|
||||
mPersistent = (esm.getRecordFlags() & 0x0400) != 0;
|
||||
|
||||
mSpells.mList.clear();
|
||||
mInventory.mList.clear();
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace ESM
|
|||
|
||||
void Static::load(ESMReader &esm)
|
||||
{
|
||||
mPersistent = esm.getRecordFlags() & 0x0400;
|
||||
mPersistent = (esm.getRecordFlags() & 0x0400) != 0;
|
||||
|
||||
mModel = esm.getHNString("MODL");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue