Changeset 120 for trunk/src/game/Pet.h

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/Pet.h

    r102 r120  
    123123        void AddToWorld(); 
    124124        void RemoveFromWorld(); 
     125        // always active 
     126        void setActive() {} 
    125127 
    126128        PetType getPetType() const { return m_petType; }