mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
- wrokaround/fix for #1177
- removed assert in Fonts.cpp (can be triggered a lot by old pregame\battles code) - fixed battle console text positioning - fixed some new compiler warnings
This commit is contained in:
@@ -453,13 +453,13 @@ void CClient::serialize( Handler &h, const int version )
|
||||
}
|
||||
else
|
||||
{
|
||||
ui8 players;
|
||||
ui8 players = 0; //fix for uninitialized warning
|
||||
h & players;
|
||||
|
||||
for(int i=0; i < players; i++)
|
||||
{
|
||||
std::string dllname;
|
||||
ui8 pid;
|
||||
ui8 pid = 0; //fix for uninitialized warning
|
||||
h & pid & dllname;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user