[Localization]: Fix (#1021)

This commit is contained in:
Edo 2023-05-09 15:52:09 +01:00 committed by GitHub
parent 67d3cf2bb7
commit 6cd4c2d83f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -118,6 +118,7 @@ namespace Components
"/dev/tty0", "/dev/tty0",
"/dev/urandom", "/dev/urandom",
"Dss0", "Dss0",
"Evan/Eve",
"FutureRave", "FutureRave",
"H3X1C", "H3X1C",
"Homura", "Homura",
@ -137,7 +138,6 @@ namespace Components
"Dasfonia", "Dasfonia",
"Deity", "Deity",
"Dizzy", "Dizzy",
"Evan/Eve"
"HardNougat", "HardNougat",
"INeedGames", "INeedGames",
"JTAG", "JTAG",

View File

@ -548,7 +548,7 @@ namespace Components
} }
} }
void Weapon::PlayerCmd_initialWeaponRaise(Game::scr_entref_t entref) void Weapon::PlayerCmd_InitialWeaponRaise(Game::scr_entref_t entref)
{ {
auto* ent = GSC::Script::Scr_GetPlayerEntity(entref); auto* ent = GSC::Script::Scr_GetPlayerEntity(entref);
const auto* weapon = Game::Scr_GetString(0); const auto* weapon = Game::Scr_GetString(0);
@ -594,7 +594,7 @@ namespace Components
ent->client->ps.weapCommon.weapFlags &= ~Game::PWF_DISABLE_WEAPON_PICKUP; ent->client->ps.weapCommon.weapFlags &= ~Game::PWF_DISABLE_WEAPON_PICKUP;
}); });
GSC::Script::AddMethod("InitialWeaponRaise", PlayerCmd_initialWeaponRaise); GSC::Script::AddMethod("InitialWeaponRaise", PlayerCmd_InitialWeaponRaise);
} }
Weapon::Weapon() Weapon::Weapon()

View File

@ -35,7 +35,7 @@ namespace Components
static void WeaponEntCanBeGrabbed_Stub(); static void WeaponEntCanBeGrabbed_Stub();
static void PlayerCmd_initialWeaponRaise(Game::scr_entref_t entref); static void PlayerCmd_InitialWeaponRaise(Game::scr_entref_t entref);
static void AddScriptMethods(); static void AddScriptMethods();
}; };