mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-22 17:01:08 +00:00
- only declare the weapon gamevars for WW2GI.
none of the other games uses any of this.
This commit is contained in:
parent
d5fa2d73ad
commit
4c1e379149
1 changed files with 3 additions and 2 deletions
|
@ -617,8 +617,8 @@ void AddSystemVars()
|
|||
{
|
||||
// only call ONCE
|
||||
char aszBuf[64];
|
||||
|
||||
/////////////////////////////
|
||||
if (isWW2GI())
|
||||
{
|
||||
sprintf(aszBuf, "WEAPON%d_WORKSLIKE", KNEE_WEAPON);
|
||||
AddGameVar(aszBuf, KNEE_WEAPON, GAMEVAR_FLAG_PERPLAYER | GAMEVAR_FLAG_SYSTEM);
|
||||
|
||||
|
@ -1177,6 +1177,7 @@ void AddSystemVars()
|
|||
|
||||
sprintf(aszBuf, "WEAPON%d_SOUND2SOUND", GROW_WEAPON);
|
||||
AddGameVar(aszBuf, 0, GAMEVAR_FLAG_PERPLAYER | GAMEVAR_FLAG_SYSTEM);
|
||||
}
|
||||
AddGameVar("GRENADE_LIFETIME", NAM_GRENADE_LIFETIME, GAMEVAR_FLAG_PERPLAYER | GAMEVAR_FLAG_SYSTEM);
|
||||
AddGameVar("GRENADE_LIFETIME_VAR", NAM_GRENADE_LIFETIME_VAR, GAMEVAR_FLAG_PERPLAYER | GAMEVAR_FLAG_SYSTEM);
|
||||
|
||||
|
|
Loading…
Reference in a new issue