SERVER: Stop tying W2_Frame_Update() to W_Frame_Update()

This commit is contained in:
cypress 2023-10-30 12:56:48 -04:00
parent ee49f7b1b8
commit 9d4e39c0cb
2 changed files with 5 additions and 4 deletions

View file

@ -114,8 +114,8 @@ void () W_Frame_Update =
if (self.anim_weapon_time > time)
return; //don't call every frame, if it is the animations will play too fast
if (IsDualWeapon(self.weapon))
W2_Frame_Update();
//if (IsDualWeapon(self.weapon))
// W2_Frame_Update();
self.anim_weapon_time = time + self.weapon_animduration;
@ -174,8 +174,8 @@ void () W_Frame_Update =
temp(S_RIGHT);
}
if (!IsDualWeapon(self.weapon))
W2_Frame_Update();
//if (!IsDualWeapon(self.weapon))
// W2_Frame_Update();
};
float(string path) model_should_hide_weapon2 =

View file

@ -1935,6 +1935,7 @@ void () Weapon_Logic =
} else {
W_Frame_Update();
W2_Frame_Update();
}