mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-24 22:14:36 +02:00
Cleaning logs.
This commit is contained in:
parent
51495381ef
commit
5b8180e327
@ -263,7 +263,7 @@ float FuzzyHelper::getTacticalAdvantage (const CArmedInstance *we, const CArmedI
|
||||
{
|
||||
logAi->errorStream() << "getTacticalAdvantage " << ": " << fe.getWhat();
|
||||
}
|
||||
logAi->traceStream() << "getTacticalAdvantage output: " << output;
|
||||
|
||||
if (output < 0 || (output != output))
|
||||
{
|
||||
fl::InputVariable* tab[] = {ta.bankPresent, ta.castleWalls, ta.ourWalkers, ta.ourShooters, ta.ourFlyers, ta.ourSpeed, ta.enemyWalkers, ta.enemyShooters, ta.enemyFlyers, ta.enemySpeed};
|
||||
|
@ -1847,7 +1847,7 @@ void CGameState::initMapObjects()
|
||||
{
|
||||
if(obj)
|
||||
{
|
||||
logGlobal->traceStream() << boost::format ("Calling Init for object %d, %d") % obj->ID % obj->subID;
|
||||
//logGlobal->traceStream() << boost::format ("Calling Init for object %d, %d") % obj->ID % obj->subID;
|
||||
obj->initObj();
|
||||
}
|
||||
}
|
||||
|
@ -2203,7 +2203,7 @@ void CGameHandler::sendAndApply( NewStructures * info )
|
||||
|
||||
void CGameHandler::save(const std::string & filename )
|
||||
{
|
||||
logGlobal->errorStream() << "Saving to " << filename;
|
||||
logGlobal->infoStream() << "Saving to " << filename;
|
||||
CFileInfo info(filename);
|
||||
//CResourceHandler::get("local")->createResource(info.getStem() + ".vlgm1");
|
||||
CResourceHandler::get("local")->createResource(info.getStem() + ".vsgm1");
|
||||
|
@ -46,9 +46,8 @@ CGameState* CPackForServer::GS(CGameHandler *gh)
|
||||
|
||||
bool SaveGame::applyGh( CGameHandler *gh )
|
||||
{
|
||||
//gh->sendMessageTo(*c,"Saving...");
|
||||
gh->save(fname);
|
||||
gh->sendMessageTo(*c,"Game has been saved as " + fname);
|
||||
logGlobal->infoStream() << "Game has been saved as " + fname;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user