forked from mirror/openmw-tes3mp
c0fc615cd6
Improves previous commit: 1. Initialise mIgnoreBase boolean member with FALSE. 2. Remove isBaseOnly() function and replace with direct use of Record member.
20 lines
No EOL
369 B
C++
20 lines
No EOL
369 B
C++
#include "record.hpp"
|
|
|
|
CSMWorld::RecordBase::~RecordBase() {}
|
|
|
|
bool CSMWorld::RecordBase::isDeleted() const
|
|
{
|
|
return mState==State_Deleted || mState==State_Erased;
|
|
}
|
|
|
|
|
|
bool CSMWorld::RecordBase::isErased() const
|
|
{
|
|
return mState==State_Erased;
|
|
}
|
|
|
|
|
|
bool CSMWorld::RecordBase::isModified() const
|
|
{
|
|
return mState==State_Modified || mState==State_ModifiedOnly;
|
|
} |