From 97fb7254d0a895052fd8884607aa840b650d1b82 Mon Sep 17 00:00:00 2001 From: Nico Giansanti Date: Thu, 15 Jul 2021 19:57:54 +0300 Subject: [PATCH] APM3 Improve GameVersion emulation APM3 Improve GameVersion emulation --- OpenParrot/src/Functions/Games/APM3/APM3.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenParrot/src/Functions/Games/APM3/APM3.cpp b/OpenParrot/src/Functions/Games/APM3/APM3.cpp index 99682d6..35ad554 100644 --- a/OpenParrot/src/Functions/Games/APM3/APM3.cpp +++ b/OpenParrot/src/Functions/Games/APM3/APM3.cpp @@ -444,6 +444,8 @@ GameVersion* System_getGameVersion() if (_gameVersion == nullptr) { _gameVersion = (GameVersion*)malloc(sizeof(GameVersion)); + _gameVersion->Minor = 0; + _gameVersion->Major = 1; } return _gameVersion; } @@ -582,7 +584,7 @@ int apmGamepadUpdate() static void HookAPM3() { wcscpy(ServerName, L"TeknoParrot Server Hi!"); - wcscpy(LinkServerName, L"TeknoParrot Link Server Hi!"); + wcscpy(LinkServerName, L"localhost"); wcscpy(LocationNickName, L"Flatty"); wcscpy(LocationName, L"Flatearth"); wcscpy(RegionName, L"Santaland");