From: Thomas Debesse Date: Tue, 21 Jun 2022 21:55:41 +0000 (+0200) Subject: radiant: some comments from NRC X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=05f9852b359a4b866eba64c8bc46d9c74a115211;p=xonotic%2Fnetradiant.git radiant: some comments from NRC --- diff --git a/radiant/camwindow.cpp b/radiant/camwindow.cpp index 945eac95..0257fa55 100644 --- a/radiant/camwindow.cpp +++ b/radiant/camwindow.cpp @@ -659,8 +659,8 @@ void Camera_motionDelta( int x, int y, unsigned int state, void* data ){ cam->m_strafe_forward = cam->m_strafe; break; case 4: - cam->m_strafe_forward_invert = true; - default: + cam->m_strafe_forward_invert = true; // fall through + default: /* 3 & 4 */ cam->m_strafe = ( state & GDK_CONTROL_MASK ) != 0; if ( cam->m_strafe ) { cam->m_strafe_forward = ( state & GDK_SHIFT_MASK ) != 0;