Commit 0836873a authored by mercury233's avatar mercury233

fix

parent 0cae1242
......@@ -72,16 +72,10 @@ inline FILE* mywfopen(const wchar_t* filename, const char* mode) {
return fp;
}
#ifndef YGOPRO_SERVER_MODE
#if !defined(YGOPRO_SERVER_MODE) || defined(SERVER_ZIP_SUPPORT)
#include <irrlicht.h>
#endif
#ifdef SERVER_ZIP_SUPPORT
#include <irrlicht.h>
using namespace irr;
using namespace io;
#endif
extern const unsigned short PRO_VERSION;
extern unsigned int enable_log;
extern bool exit_on_return;
......
......@@ -98,7 +98,7 @@ void Game::MainServerLoop() {
dataManager.LoadDB(L"cards.cdb");
LoadExpansions();
#ifdef SERVER_PRO2_SUPPORT
DataManager::FileSystem->addFileArchive("data/script.zip", true, false, EFAT_ZIP);
DataManager::FileSystem->addFileArchive("data/script.zip", true, false, irr::io::EFAT_ZIP);
#endif
server_port = NetServer::StartServer(server_port);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment