File tree Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Expand file tree Collapse file tree 3 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -64,14 +64,11 @@ dboolean dsda_AllowJumping(void) {
64
64
}
65
65
66
66
dboolean dsda_FreeAim (void ) {
67
- return (allow_incompatibility && dsda_IntConfig (dsda_config_freelook ))
67
+ return ((allow_incompatibility || dsda_AllowCasualExCmdFeatures ())
68
+ && dsda_IntConfig (dsda_config_freelook ))
68
69
|| map_info .flags & MI_ALLOW_FREE_LOOK ;
69
70
}
70
71
71
- dboolean dsda_AllowFreeLook (void ) {
72
- return dsda_FreeAim () || dsda_AllowCasualExCmdFeatures ();
73
- }
74
-
75
72
void dsda_ReadExCmd (ticcmd_t * cmd , const byte * * p ) {
76
73
const byte * demo_p = * p ;
77
74
Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ dboolean dsda_ExCmdDemo(void);
36
36
void dsda_EnableCasualExCmdFeatures (void );
37
37
dboolean dsda_AllowCasualExCmdFeatures (void );
38
38
dboolean dsda_AllowJumping (void );
39
- dboolean dsda_AllowFreeLook (void );
40
39
dboolean dsda_FreeAim (void );
41
40
void dsda_ReadExCmd (ticcmd_t * cmd , const byte * * p );
42
41
void dsda_WriteExCmd (char * * p , ticcmd_t * cmd );
Original file line number Diff line number Diff line change @@ -809,7 +809,7 @@ void G_BuildTiccmd(ticcmd_t* cmd)
809
809
if (players [consoleplayer ].mo && players [consoleplayer ].mo -> pitch && !dsda_MouseLook ())
810
810
dsda_QueueExCmdLook (XC_LOOK_RESET );
811
811
812
- if (dsda_AllowFreeLook ())
812
+ if (dsda_FreeAim ())
813
813
{
814
814
short look ;
815
815
You can’t perform that action at this time.
0 commit comments