mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 10:37:03 +00:00
[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:
parent
a2bb5aa9ed
commit
071a0317f0
11 changed files with 28 additions and 11 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue