mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 22:28:10 +00:00
FULLPIPE: Fix compilation
This commit is contained in:
parent
eb4d2695ee
commit
74583e2301
@ -333,20 +333,20 @@ void sceneHandler09_cycleHangers() {
|
||||
|
||||
void sceneHandler09_limitHangerPhase() {
|
||||
for (int i = 0; i < g_vars->scene09_numMovingHangers; i++) {
|
||||
if (i != g_vars_scene09_var10) {
|
||||
g_vars_scene09_hangers[i]->phase += g_vars_scene09_hangers[i]->field_8;
|
||||
if (i != g_vars->scene09_var10) {
|
||||
g_vars->scene09_hangers[i]->phase += g_vars->scene09_hangers[i]->field_8;
|
||||
|
||||
if (g_vars_scene09_hangers[i]->phase > 85)
|
||||
g_vars_scene09_hangers[i]->phase = 85;
|
||||
if (g_vars->scene09_hangers[i]->phase > 85)
|
||||
g_vars->scene09_hangers[i]->phase = 85;
|
||||
|
||||
if (g_vars_scene09_hangers[i]->phase < -85)
|
||||
g_vars_scene09_hangers[i]->phase = -85;
|
||||
if (g_vars->scene09_hangers[i]->phase < -85)
|
||||
g_vars->scene09_hangers[i]->phase = -85;
|
||||
|
||||
if (g_vars_scene09_hangers[i]->phase < 0)
|
||||
g_vars_scene09_hangers[i]->field_8++;
|
||||
if (g_vars->scene09_hangers[i]->phase < 0)
|
||||
g_vars->scene09_hangers[i]->field_8++;
|
||||
|
||||
if (g_vars_scene09_hangers[i]->phase > 0)
|
||||
g_vars_scene09_hangers[i]->field_8--;
|
||||
if (g_vars->scene09_hangers[i]->phase > 0)
|
||||
g_vars->scene09_hangers[i]->field_8--;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user