mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
* compilation fixes for MSVC / minor changes
* CDefHandler::openFromMemory DOES NOT WORK! It seems to be design error, not windows specific. Note: please write more C++-like code (declarations don't have to be in the beginning of block of code, use C++-style casts, follow our naming convention for structs / classes, don't write struct before structure's name etc.)
This commit is contained in:
@@ -153,7 +153,7 @@ void CVCMIServer::start()
|
||||
tlog0<<"Got connection!" << std::endl;
|
||||
while(!end2)
|
||||
{
|
||||
uint8_t mode;
|
||||
ui8 mode;
|
||||
*connection >> mode;
|
||||
switch (mode)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user