1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-04-23 12:08:45 +02:00

- removed debug

This commit is contained in:
Ivan Savenko 2012-08-02 11:05:40 +00:00
parent e67f8afdd9
commit 63a757ac7d
2 changed files with 0 additions and 4 deletions

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

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