2023-07-20 11:44:04 -04:00
|
|
|
|
|
|
|
#include "include/hooks.h"
|
|
|
|
#include "include/sdk.h"
|
|
|
|
#include "include/globals.h"
|
|
|
|
|
|
|
|
DECL_HOOK(CL_CreateMove);
|
|
|
|
|
|
|
|
bool hooks_init(void) {
|
2023-07-20 14:25:49 -04:00
|
|
|
HOOK(i_client, CL_CreateMove);
|
2023-07-20 11:44:04 -04:00
|
|
|
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
|
|
|
void h_CL_CreateMove(float frametime, usercmd_t* cmd, int active) {
|
2023-07-20 14:25:49 -04:00
|
|
|
/* bhop(cmd); */
|
2023-07-20 11:44:04 -04:00
|
|
|
|
|
|
|
ORIGINAL(CL_CreateMove, frametime, cmd, active);
|
|
|
|
}
|