Talk:Pyoff
y axis? Isn't it a Z offset?
game.c/G_DrawRooms:
// cl setting if (ud.viewbob) { // addz = p->opyoff + (p->opyoff - p->opyoff)*smoothratio) int32_t addz = (p->opyoff + mulscale16(p->pyoff - p->opyoff, smoothratio)); if (p->over_shoulder_on) // reduce view bobbing if we're over the shoulder because we're farther away and it will look terrible addz >>= 3; CAMERA(pos.z) += addz; }
-75