dda.c: complete the rename from all_step to last_step.
Next time, please at least try to compile the code section in question when explicitely changing the section. In this case, with ACCELERATION_TEMPORAL enabled. It didn't build. Was broken with commit 95926a3f113809bde8ff0c84b94c55c73e398f67, "DDA: Rename confusing variable name.".
This commit is contained in:
parent
69e91b8acd
commit
a303f1ba3e
8
dda.c
8
dda.c
|
|
@ -570,7 +570,7 @@ void dda_step(DDA *dda) {
|
|||
x_step();
|
||||
move_state.steps[X]--;
|
||||
move_state.time[X] += dda->step_interval[X];
|
||||
move_state.all_time = move_state.time[X];
|
||||
move_state.last_time = move_state.time[X];
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -588,7 +588,7 @@ void dda_step(DDA *dda) {
|
|||
y_step();
|
||||
move_state.steps[Y]--;
|
||||
move_state.time[Y] += dda->step_interval[Y];
|
||||
move_state.all_time = move_state.time[Y];
|
||||
move_state.last_time = move_state.time[Y];
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -606,7 +606,7 @@ void dda_step(DDA *dda) {
|
|||
z_step();
|
||||
move_state.steps[Z]--;
|
||||
move_state.time[Z] += dda->step_interval[Z];
|
||||
move_state.all_time = move_state.time[Z];
|
||||
move_state.last_time = move_state.time[Z];
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
@ -624,7 +624,7 @@ void dda_step(DDA *dda) {
|
|||
e_step();
|
||||
move_state.steps[E]--;
|
||||
move_state.time[E] += dda->step_interval[E];
|
||||
move_state.all_time = move_state.time[E];
|
||||
move_state.last_time = move_state.time[E];
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue