瀏覽代碼

Enabled mysterious Hero Placeholder.

DjWarmonger 14 年之前
父節點
當前提交
122a6a039e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;