mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
@ -224,8 +224,8 @@ int main(int argc, char** argv)
|
||||
}
|
||||
|
||||
//Set environment vars to make window centered. Sometimes work, sometimes not. :/
|
||||
putenv("SDL_VIDEO_WINDOW_POS");
|
||||
putenv("SDL_VIDEO_CENTERED=1");
|
||||
putenv((char*)"SDL_VIDEO_WINDOW_POS");
|
||||
putenv((char*)"SDL_VIDEO_CENTERED=1");
|
||||
|
||||
timeHandler total, pomtime;
|
||||
std::cout.flags(std::ios::unitbuf);
|
||||
@ -482,6 +482,10 @@ void processCommand(const std::string &message)
|
||||
if(const CArtifactInstance *a = h->getArt(id2))
|
||||
tlog4 << a->nodeName();
|
||||
}
|
||||
else if (what == "anim" )
|
||||
{
|
||||
CAnimation::getAnimInfo();
|
||||
}
|
||||
}
|
||||
else if(client && client->serv && client->serv->connected) //send to server
|
||||
{
|
||||
|
Reference in New Issue
Block a user