mirror of
https://github.com/vcmi/vcmi.git
synced 2024-11-24 08:32:34 +02:00
* Fixed game crash when doing "NEW GAME" -> "SINGLE SCENARIO" -> "Show Advanced Options"
* Fixed bug. If you select town/hero and resource bonus and after that select random town the hero and bonus aren't set to random. Same for hero -> artifact bonus * Fixed two typos in error messages
This commit is contained in:
parent
ffe3a757a6
commit
314fd8e20e
@ -280,7 +280,7 @@ SDL_Surface * CLodHandler::loadBitmap(std::string fname)
|
||||
}
|
||||
if(index==-1)
|
||||
{
|
||||
std::cout<<"File "<<fname<<" did't found"<<std::endl;
|
||||
std::cout<<"File "<<fname<<" not found"<<std::endl;
|
||||
}
|
||||
FLOD.seekg(entries[index].offset,std::ios_base::beg);
|
||||
if (entries[index].size==0) //file is not compressed
|
||||
@ -295,7 +295,7 @@ SDL_Surface * CLodHandler::loadBitmap(std::string fname)
|
||||
int res=infs2(pcd,entries[index].size,entries[index].realSize,pcx);
|
||||
if(res!=0)
|
||||
{
|
||||
std::cout<<"an error "<<res<<" ocured during extracting file "<<fname<<std::endl;
|
||||
std::cout<<"an error "<<res<<" occured while extracting file "<<fname<<std::endl;
|
||||
}
|
||||
}
|
||||
CPCXConv cp;
|
||||
|
BIN
CPreGame.cpp
BIN
CPreGame.cpp
Binary file not shown.
@ -114,7 +114,7 @@ public:
|
||||
void init();
|
||||
std::string gdiff(std::string ss);
|
||||
void printMaps(int from,int to=18, int at=0, bool abs=false);
|
||||
void select(int which);
|
||||
void select(int which, bool updateMapsList=true);
|
||||
void moveByOne(bool up);
|
||||
void printSelectedInfo();
|
||||
MapSel();
|
||||
|
Loading…
Reference in New Issue
Block a user