1
0
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:
mateuszb
2009-10-14 12:44:44 +00:00
parent 6c008d5fea
commit 0078037df8
3 changed files with 13 additions and 13 deletions

View File

@@ -153,7 +153,7 @@ void CVCMIServer::start()
tlog0<<"Got connection!" << std::endl;
while(!end2)
{
uint8_t mode;
ui8 mode;
*connection >> mode;
switch (mode)
{