Core: Fix Windows compile

--HG--
branch : trunk
This commit is contained in:
Spp
2010-08-23 15:46:12 +02:00
parent 51d8333ccc
commit 050f85b2c6
2 changed files with 2 additions and 1 deletions

View File

@@ -1514,7 +1514,7 @@ struct BG_AV_NodeInfo
uint16 PrevOwner;
BG_AV_States State;
BG_AV_States PrevState;
uint Timer;
uint32 Timer;
bool Tower;
};

View File

@@ -733,6 +733,7 @@ void CliRunnable::run()
char *command_str ; // = fgets(commandbuf,sizeof(commandbuf),stdin);
#if PLATFORM == WINDOWS
char commandbuf[256];
command_str = fgets(commandbuf,sizeof(commandbuf),stdin);
#else
command_str = readline("TC>");