[Localization]: Fix (#1021)
This commit is contained in:
parent
67d3cf2bb7
commit
6cd4c2d83f
@ -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",
|
||||||
|
@ -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()
|
||||||
|
@ -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();
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user