mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 10:05:32 +01:00
Core: Fix Windows compile
--HG-- branch : trunk
This commit is contained in:
@@ -1514,7 +1514,7 @@ struct BG_AV_NodeInfo
|
||||
uint16 PrevOwner;
|
||||
BG_AV_States State;
|
||||
BG_AV_States PrevState;
|
||||
uint Timer;
|
||||
uint32 Timer;
|
||||
bool Tower;
|
||||
};
|
||||
|
||||
|
||||
@@ -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>");
|
||||
|
||||
Reference in New Issue
Block a user