fixed World::disable function

pull/7/head
Marc Zinnschlag 15 years ago
parent 09c42589cc
commit 2eee3d32f1

@ -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()))
{

Loading…
Cancel
Save