1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

- minor fixes

This commit is contained in:
Ivan Savenko 2013-02-17 18:25:42 +00:00
parent 7270d16f45
commit b22d8a007f
2 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ DLL_LINKAGE std::ostream & operator << (std::ostream & os, BaseForID<Der> id);
template<typename Der>
std::ostream & operator << (std::ostream & os, BaseForID<Der> id)
{
return os << id;
return os << id.getNum();
}
class ArtifactInstanceID : public BaseForID<ArtifactInstanceID>

View File

@ -71,7 +71,7 @@ void CMapLoaderH3M::init()
result.process_bytes(temp_buffer, temp_size);
map->checksum = result.checksum();
delete temp_buffer;
delete [] temp_buffer;
inputStream->seek(0);
CStopWatch sw;