mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
- minor fixes
This commit is contained in:
parent
7270d16f45
commit
b22d8a007f
@ -203,7 +203,7 @@ DLL_LINKAGE std::ostream & operator << (std::ostream & os, BaseForID<Der> id);
|
|||||||
template<typename Der>
|
template<typename Der>
|
||||||
std::ostream & operator << (std::ostream & os, BaseForID<Der> id)
|
std::ostream & operator << (std::ostream & os, BaseForID<Der> id)
|
||||||
{
|
{
|
||||||
return os << id;
|
return os << id.getNum();
|
||||||
}
|
}
|
||||||
|
|
||||||
class ArtifactInstanceID : public BaseForID<ArtifactInstanceID>
|
class ArtifactInstanceID : public BaseForID<ArtifactInstanceID>
|
||||||
|
@ -71,7 +71,7 @@ void CMapLoaderH3M::init()
|
|||||||
result.process_bytes(temp_buffer, temp_size);
|
result.process_bytes(temp_buffer, temp_size);
|
||||||
map->checksum = result.checksum();
|
map->checksum = result.checksum();
|
||||||
|
|
||||||
delete temp_buffer;
|
delete [] temp_buffer;
|
||||||
inputStream->seek(0);
|
inputStream->seek(0);
|
||||||
|
|
||||||
CStopWatch sw;
|
CStopWatch sw;
|
||||||
|
Loading…
Reference in New Issue
Block a user