Pārlūkot izejas kodu

- Taml serialization WIP.

MelvMay-GG 12 gadi atpakaļ
vecāks
revīzija
947ef47ab0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      engine/source/persistence/taml/tamlCustom.h

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

@@ -497,7 +497,7 @@ public:
 
     inline void setNodeText( const char* pNodeText )
     {
-        AssertFatal( dStrlen( pNodeText ) >= MAX_TAML_NODE_FIELDVALUE_LENGTH, "Custom node text is too long." );
+        AssertFatal( dStrlen( pNodeText ) < MAX_TAML_NODE_FIELDVALUE_LENGTH, "Custom node text is too long." );
 
         mNodeText.set( StringTable->EmptyString, pNodeText );
     }