Files

12 lines
368 B
C++
Raw Permalink Normal View History

2024-05-19 22:14:01 -04:00
#include <libultraship/bridge.h>
#include "2s2h/GameInteractor/GameInteractor.h"
2024-05-19 22:14:01 -04:00
void RegisterClimbSpeed() {
2024-10-05 10:02:53 -05:00
REGISTER_VB_SHOULD(VB_SET_CLIMB_SPEED, {
2024-06-03 23:38:29 -04:00
if (CVarGetInteger("gEnhancements.Player.ClimbSpeed", 1) > 1) {
f32* speed = va_arg(args, f32*);
2024-06-03 23:38:29 -04:00
*speed *= CVarGetInteger("gEnhancements.Player.ClimbSpeed", 1);
2024-05-19 22:14:01 -04:00
}
});
}