[7439] Fix wrong liquid level in some places. Need reectract maps.

Remove some log on extract maps.
Add liquid status log to .gps command

Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
DiSlord 2009-03-11 00:04:19 +03:00
parent a2bb5aa9ed
commit 071a0317f0
11 changed files with 28 additions and 11 deletions

View file

@ -17,13 +17,14 @@ FileLoader::~FileLoader()
free();
}
bool FileLoader::loadFile(char *filename)
bool FileLoader::loadFile(char *filename, bool log)
{
free();
MPQFile mf(filename);
if(mf.isEof())
{
printf("No such file %s\n", filename);
if (log)
printf("No such file %s\n", filename);
return false;
}