BunnymodXT
BunnymodXT copied to clipboard
`bxt_ch_set/get` cheats crash the game in main menu when sv_cheats is 1
low prior e.g.
auto &hw = HwDLL::GetInstance();
(*hw.sv_player)->v.velocity[0] = vx;
(*hw.sv_player)->v.velocity[1] = vy;
(*hw.sv_player)->v.velocity[2] = vz;
#0 0xe911cbcf in HwDLL::Cmd_BXT_CH_Set_Velocity::handler (vx=2, vy=2, vz=2) at /home/unko/repos/BunnymodXT/BunnymodXT/modules/HwDLL.cpp:2146
2146 (*hw.sv_player)->v.velocity[0] = vx;