Browse Source

- Removed lvalue const-cast.

MelvMay-GG 12 years ago
parent
commit
101bf8e
1 changed files with 0 additions and 1 deletions
  1. 0 1
      engine/source/persistence/taml/tamlCustom.h

+ 0 - 1
engine/source/persistence/taml/tamlCustom.h

@@ -524,7 +524,6 @@ public:
         if ( deleteIfNotType && pTypeCast == NULL )
         {
             mpProxyObject->deleteObject();
-            const_cast<SimObject*>(mpProxyObject) = NULL;
             return NULL;
         }