Fix another bug related to vanity mode toggle

This commit is contained in:
scrawl 2016-06-10 01:44:32 +02:00
parent c47a679ac9
commit a00e4de5c3

View file

@ -203,7 +203,7 @@ namespace MWRender
{ {
// Changing the view will stop all playing animations, so if we are playing // Changing the view will stop all playing animations, so if we are playing
// anything important, queue the view change for later // anything important, queue the view change for later
if (isFirstPerson() && !mAnimation->upperBodyReady()) if (mFirstPersonView && !mAnimation->upperBodyReady())
{ {
mVanityToggleQueued = true; mVanityToggleQueued = true;
mVanityToggleQueuedValue = enable; mVanityToggleQueuedValue = enable;