浏览代码

- removed debug

Ivan Savenko 13 年之前
父节点
当前提交
63a757ac7d
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 0 2
      lib/CCampaignHandler.cpp
  2. 0 2
      lib/Filesystem/CCompressedStream.cpp

+ 0 - 2
lib/CCampaignHandler.cpp

@@ -277,8 +277,6 @@ std::vector< std::vector<ui8> > CCampaignHandler::getFile(const std::string & na
 		std::vector<ui8> block(stream.getSize());
 		stream.read(block.data(), block.size());
 		ret.push_back(block);
-		std::ofstream outFile("/home/ivan/vcmi.out");
-		outFile.write((char*)block.data(), block.size());
 	}
 	while (!headerOnly && stream.getNextBlock());
 

+ 0 - 2
lib/Filesystem/CCompressedStream.cpp

@@ -168,8 +168,6 @@ bool CCompressedStream::getNextBlock()
 	if (!inflateState)
 		return false;
 
-	//inflateState->total_out = 0;
-
 	if (inflateReset(inflateState) < 0)
 		return false;