mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
12 lines
368 B
C++
12 lines
368 B
C++
#include <libultraship/bridge.h>
|
|
#include "2s2h/GameInteractor/GameInteractor.h"
|
|
|
|
void RegisterClimbSpeed() {
|
|
REGISTER_VB_SHOULD(VB_SET_CLIMB_SPEED, {
|
|
if (CVarGetInteger("gEnhancements.Player.ClimbSpeed", 1) > 1) {
|
|
f32* speed = va_arg(args, f32*);
|
|
*speed *= CVarGetInteger("gEnhancements.Player.ClimbSpeed", 1);
|
|
}
|
|
});
|
|
}
|