port: only player 1 gets mouselook and only when aiming is allowed
This commit is contained in:
parent
b906f77b37
commit
bc4c08fe2f
|
|
@ -697,7 +697,7 @@ void bmoveProcessInput(bool allowc1x, bool allowc1y, bool allowc1buttons, bool i
|
|||
movedata.analogwalk = movedata.c1stickysafe;
|
||||
|
||||
#ifndef PLATFORM_N64
|
||||
if ((PLAYERCOUNT() == 1) && inputMouseIsLocked()) {
|
||||
if (inputMouseIsLocked() && g_Vars.currentplayernum == 0 && (allowc1x || allowc1y)) {
|
||||
inputMouseGetScaledDelta(&movedata.freelookdx, &movedata.freelookdy);
|
||||
}
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue