1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 04:15:33 +00:00

fixed World::disable function

This commit is contained in:
Marc Zinnschlag 2010-08-07 20:29:10 +02:00
parent 09c42589cc
commit 2eee3d32f1

View file

@ -384,9 +384,9 @@ namespace MWWorld
void World::disable (Ptr reference)
{
if (!reference.getRefData().isEnabled())
if (reference.getRefData().isEnabled())
{
reference.getRefData().enable();
reference.getRefData().disable();
if (MWRender::CellRender *render = searchRender (reference.getCell()))
{