1
0
Fork 0
mirror of https://github.com/jugeeya/UltimateTrainingModpack.git synced 2025-03-14 02:16:10 +00:00

fix roll getup and accidental normal getups

This commit is contained in:
jugeeya 2019-07-22 23:19:08 -07:00
parent 180c4c1c24
commit 4923fec242

View file

@ -8,8 +8,10 @@ void force_option(u64 module_accessor) {
int random_frame = app::sv_math::rand(
hash40("fighter"),
(int) MotionModule::end_frame(module_accessor));
float frame = MotionModule::frame(module_accessor);
if (MotionModule::frame(module_accessor) == random_frame) {
if (frame == random_frame || frame > 30.0) {
int status = 0;
int ledge_case = LEDGE_STATE;