Skip to content

Commit ecefc7c

Browse files
alanjian85tseng
authored andcommitted
Disconnect character movement from the mouse movements
The character could be moved forward or backward by dragging the mouse. However, since the keyboard has already been assigned to handle character movement, playing the game with both the mouse and keyboard may be rather annoying. Thus, it should no longer be possible to move using a mouse.
1 parent 09d7634 commit ecefc7c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/g_game.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,6 @@ void G_BuildTiccmd (ticcmd_t* cmd)
403403
}
404404
}
405405

406-
forward += mousey;
407406
if (strafe)
408407
side += mousex*2;
409408
else

0 commit comments

Comments
 (0)