mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +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>
|
||||
std::ostream & operator << (std::ostream & os, BaseForID<Der> id)
|
||||
{
|
||||
return os << id;
|
||||
return os << id.getNum();
|
||||
}
|
||||
|
||||
class ArtifactInstanceID : public BaseForID<ArtifactInstanceID>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user