forked from teamnwah/openmw-tes3coop
Fix reset of changed flag
This commit is contained in:
parent
1c15686353
commit
ef704db877
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,7 @@ void ViewData::reset(unsigned int frame)
|
||||||
|
|
||||||
// reset index for next frame
|
// reset index for next frame
|
||||||
mNumEntries = 0;
|
mNumEntries = 0;
|
||||||
|
mChanged = false;
|
||||||
|
|
||||||
mFrameLastUsed = frame;
|
mFrameLastUsed = frame;
|
||||||
}
|
}
|
||||||
|
@ -52,6 +53,7 @@ void ViewData::clear()
|
||||||
mEntries[i].set(NULL, false);
|
mEntries[i].set(NULL, false);
|
||||||
mNumEntries = 0;
|
mNumEntries = 0;
|
||||||
mFrameLastUsed = 0;
|
mFrameLastUsed = 0;
|
||||||
|
mChanged = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ViewData::contains(QuadTreeNode *node)
|
bool ViewData::contains(QuadTreeNode *node)
|
||||||
|
|
Loading…
Reference in a new issue