diff options
Diffstat (limited to 'code/client')
-rw-r--r-- | code/client/cl_cgame.c | 4 | ||||
-rw-r--r-- | code/client/cl_ui.c | 6 |
2 files changed, 2 insertions, 8 deletions
diff --git a/code/client/cl_cgame.c b/code/client/cl_cgame.c index c2f6df7..b6c0855 100644 --- a/code/client/cl_cgame.c +++ b/code/client/cl_cgame.c @@ -412,9 +412,7 @@ CL_CgameSystemCalls The cgame module is making a system call ==================== */ -#define VMA(x) VM_ArgPtr(args[x]) -#define VMF(x) ((float *)args)[x] -int CL_CgameSystemCalls( int *args ) { +long CL_CgameSystemCalls( long *args ) { switch( args[0] ) { case CG_PRINT: Com_Printf( "%s", VMA(1) ); diff --git a/code/client/cl_ui.c b/code/client/cl_ui.c index 66e6265..d1fdd37 100644 --- a/code/client/cl_ui.c +++ b/code/client/cl_ui.c @@ -757,10 +757,6 @@ static int FloatAsInt( float f ) { return temp; } -void *VM_ArgPtr( int intValue ); -#define VMA(x) VM_ArgPtr(args[x]) -#define VMF(x) ((float *)args)[x] - /* ==================== CL_UISystemCalls @@ -768,7 +764,7 @@ CL_UISystemCalls The ui module is making a system call ==================== */ -int CL_UISystemCalls( int *args ) { +long CL_UISystemCalls( long *args ) { switch( args[0] ) { case UI_ERROR: Com_Error( ERR_DROP, "%s", VMA(1) ); |