Explorar o código

Enabled mysterious Hero Placeholder.

DjWarmonger %!s(int64=14) %!d(string=hai) anos
pai
achega
122a6a039e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/map.cpp

+ 1 - 1
lib/map.cpp

@@ -1751,7 +1751,7 @@ void Mapa::readObjects( const unsigned char * bufor, int &i)
 				nobj = hp;
 
 				int a = bufor[i++]; //unkown byte, seems to be always 0 (if not - scream!)
-				assert(!a);
+				tlog2 << "Unhandled Hero Placeholder detected\n";
 
 				int htid = bufor[i++]; //hero type id
 				nobj->subID = htid;