1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

Fix reset of changed flag

This commit is contained in:
scrawl 2017-03-09 04:02:58 +01:00
parent 1c15686353
commit ef704db877

View File

@ -42,6 +42,7 @@ void ViewData::reset(unsigned int frame)
// reset index for next frame
mNumEntries = 0;
mChanged = false;
mFrameLastUsed = frame;
}
@ -52,6 +53,7 @@ void ViewData::clear()
mEntries[i].set(NULL, false);
mNumEntries = 0;
mFrameLastUsed = 0;
mChanged = false;
}
bool ViewData::contains(QuadTreeNode *node)