Browse Source

engine: fix functions returning void returning void value

pull/2/head
Alibek Omarov 2 years ago
parent
commit
de84df99f3
  1. 2
      engine/client/cl_pmove.c
  2. 2
      engine/client/in_joy.c
  3. 2
      engine/server/sv_pmove.c

2
engine/client/cl_pmove.c

@ -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 )

2
engine/client/in_joy.c

@ -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 )

2
engine/server/sv_pmove.c

@ -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 )

Loading…
Cancel
Save