mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-01 00:45:26 +02:00
Code cleaning/refactoring
This commit is contained in:
9
map.cpp
9
map.cpp
@ -12,15 +12,6 @@ int readNormalNr (unsigned char * bufor, int pos, int bytCon = 4)
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
bool DefInfo::isVisitable()
|
||||
{
|
||||
for (int i=6; i<12; i++)
|
||||
{
|
||||
if (bytes[i])
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
CMapHeader::CMapHeader(unsigned char *map)
|
||||
{
|
||||
this->version = (Eformat)map[0]; //wersja mapy
|
||||
|
Reference in New Issue
Block a user