mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-08-10 21:31:17 +00:00
Use SpriteSheets and move server.db and server.txt to "Data" folder.
This commit is contained in:
@@ -1673,7 +1673,7 @@ void UIScene_LoadCreateJoinMenu::CheckAndJoinGame(int gameIndex)
|
||||
#ifdef _WINDOWS64
|
||||
{
|
||||
int serverDbCount = 0;
|
||||
FILE* dbFile = fopen("servers.db", "rb");
|
||||
FILE* dbFile = fopen("Data\\servers.db", "rb");
|
||||
if (dbFile)
|
||||
{
|
||||
char magic[4] = {};
|
||||
@@ -1867,7 +1867,7 @@ void UIScene_LoadCreateJoinMenu::BeginAddServer()
|
||||
|
||||
void UIScene_LoadCreateJoinMenu::AppendServerToFile(const wstring& ip, const wstring& port, const wstring& name)
|
||||
{
|
||||
FILE* f = fopen("servers.db", "ab");
|
||||
FILE* f = fopen("Data\\servers.db", "ab");
|
||||
if (!f) return;
|
||||
|
||||
uint32_t version = 1;
|
||||
|
||||
Reference in New Issue
Block a user