diff options
author | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-17 15:35:07 -0700 |
commit | 26b5e033ffde3d161382fc9addbfa99738379641 (patch) | |
tree | a344f369ca32945f787a02dee35c3dbe342bed7e /src/shared/vmap/ManagedModelContainer.h | |
parent | f21f47005dcb6b76e1abc9f35fbcd03eed191bff (diff) |
*Massive cleanup (\n\n -> \n, *\n -> \n, cleanup for(...) to for (...), and some other cleanups by hand)
*Fix a possible crash in Spell::DoAllEffectOnTarget
--HG--
branch : trunk
Diffstat (limited to 'src/shared/vmap/ManagedModelContainer.h')
-rw-r--r-- | src/shared/vmap/ManagedModelContainer.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/shared/vmap/ManagedModelContainer.h b/src/shared/vmap/ManagedModelContainer.h index e6862f915c7..c909aa878cf 100644 --- a/src/shared/vmap/ManagedModelContainer.h +++ b/src/shared/vmap/ManagedModelContainer.h @@ -17,21 +17,16 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - #ifndef _MANAGEDMODELCONTAINER_H #define _MANAGEDMODELCONTAINER_H - #include "ModelContainer.h" - //======================================================= /** This is a ModelContainer with reference count information. */ - namespace VMAP { //======================================================= - class ManagedModelContainer : public ModelContainer { @@ -40,12 +35,10 @@ namespace VMAP public: ManagedModelContainer(void) ; ~ManagedModelContainer(void); - void incRefCount() { ++refCount; } void decRefCount() { --refCount; if(refCount < 0) refCount = 0; } int getRefCount() { return refCount; } }; - //======================================================= } #endif |