shot:: fixed default loop_multipolier to 1, also added loop_shift

This commit is contained in:
Zeno Rogue 2022-04-16 14:00:10 +02:00
parent 197157838d
commit 5e0bd689ef
1 changed files with 5 additions and 1 deletions

View File

@ -1121,7 +1121,8 @@ EX int noframes = 30;
EX ld cycle_length = 2 * M_PI;
EX ld parabolic_length = 1;
EX ld skiprope_rotation;
EX ld loop_multiplier;
EX ld loop_multiplier = 1;
EX ld loop_shift = 0;
int lastticks, bak_turncount;
@ -1738,6 +1739,9 @@ int readArgs() {
else if(argis("-animloop")) {
PHASEFROM(2); shift_arg_formula(loop_multiplier);
}
else if(argis("-animloopshift")) {
PHASEFROM(2); shift_arg_formula(loop_shift);
}
#if CAP_SHOT
else if(argis("-animrecordf")) {
PHASEFROM(2); shift(); noframes = argi();