VITA/NX: Fix a -Wmisleading-identation warning

source/view.c:1174:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
 1174 | else
      | ^~~~
source/view.c:1181:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
 1181 |  view2->origin[0] = view->origin[0];
      |  ^~~~~
This commit is contained in:
Peter0x44 2024-06-17 18:19:27 +01:00
parent 8ada86168c
commit f47080d347

View file

@ -244,9 +244,8 @@ float V_CalcBob (float speed,float which)//0 = regular, 1 = side bobbing
bob = cl_bobup.value * 20 * speed * (sprint * sprint) * sin(cl.time * 3.25 * sprint);
else
bob = cl_bobside.value * 50 * speed * (sprint * sprint * sprint) * sin((cl.time * 2 * sprint) - (M_PI * 0.25));
}
} else {
// Normal walk/sprint bob.
else {
if(cl.stats[STAT_ZOOM] == 3)
sprint = 1.8; //this gets sprinting speed in comparison to walk speed per weapon