engine: fix functions returning void returning void value

This commit is contained in:
Alibek Omarov 2023-01-14 10:40:42 +03:00
parent a5d5c1f60b
commit de84df99f3
3 changed files with 3 additions and 3 deletions

View File

@ -699,7 +699,7 @@ static int GAME_EXPORT pfnTestPlayerPosition( float *pos, pmtrace_t *ptrace )
static void GAME_EXPORT pfnStuckTouch( int hitent, pmtrace_t *tr ) static void GAME_EXPORT pfnStuckTouch( int hitent, pmtrace_t *tr )
{ {
return PM_StuckTouch( clgame.pmove, hitent, tr ); PM_StuckTouch( clgame.pmove, hitent, tr );
} }
static int GAME_EXPORT pfnTruePointContents( float *p ) static int GAME_EXPORT pfnTruePointContents( float *p )

View File

@ -244,7 +244,7 @@ void Joy_AxisMotionEvent( byte axis, short value )
return; return;
} }
return Joy_KnownAxisMotionEvent( joyaxesmap[axis], value ); Joy_KnownAxisMotionEvent( joyaxesmap[axis], value );
} }
void Joy_KnownAxisMotionEvent( engineAxis_t engineAxis, short value ) void Joy_KnownAxisMotionEvent( engineAxis_t engineAxis, short value )

View File

@ -366,7 +366,7 @@ static int GAME_EXPORT pfnTestPlayerPosition( float *pos, pmtrace_t *ptrace )
static void GAME_EXPORT pfnStuckTouch( int hitent, pmtrace_t *tr ) static void GAME_EXPORT pfnStuckTouch( int hitent, pmtrace_t *tr )
{ {
return PM_StuckTouch( svgame.pmove, hitent, tr ); PM_StuckTouch( svgame.pmove, hitent, tr );
} }
static int GAME_EXPORT pfnPointContents( float *p, int *truecontents ) static int GAME_EXPORT pfnPointContents( float *p, int *truecontents )