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:
parent
180c4c1c24
commit
4923fec242
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue