Show
Ignore:
Timestamp:
11/19/08 13:38:01 (17 years ago)
Author:
yumileroy
Message:

[svn] * Allow WorldObjects? to keep the grid active, and prevent it from being unloaded. This can be done through calling WorldObject::setActive(bool) from the scripting library. Note that entire instances are still unloaded if no player is present on that map to save resources. This behavior can be changed if the need arises.

Original author: w12x
Date: 2008-10-27 08:41:55-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Unit.cpp

    r111 r120  
    98279827void Unit::AddToWorld() 
    98289828{ 
    9829     Object::AddToWorld(); 
     9829    WorldObject::AddToWorld(); 
    98309830} 
    98319831 
     
    98389838    } 
    98399839 
    9840     Object::RemoveFromWorld(); 
     9840    WorldObject::RemoveFromWorld(); 
    98419841} 
    98429842