entdark / jaMME

Jedi Academy Movie Maker's Edition
GNU General Public License v2.0
17 stars 16 forks source link

Game crashes when adding gun in first person for different clients #1

Closed entdark closed 11 years ago

entdark commented 11 years ago

jaMME lets you switch between players and if we have third person disabled and our weapon isn't saber or melee then game crashes when trying to add a gun on first person in a moment when we switched to gun for the first time. But if we have third person enabled then game doesn't crash at the first gun appearance and then we can switch to first person and won't crash. The crash happens in cg_weapons.c -> CG_AddViewWeaponDirect -> trap_G2API_GetBoneAnim. Currently it is disabled and we always see first person gun of a player that we recorded our demo on in every player that we switch to. To enable own first person weapon for their own client (to try that crash) uncomment CG_AddViewWeaponDirect in cg_demos.c and comment CG_AddViewWeapon which is nearby.