From f324890e9715490c909ca6123948f4157401324c Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Thu, 9 Apr 2020 18:30:35 +0100 Subject: multiprotocol: gamelogic code for 1.1 --- src/cgame/cg_syscalls.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/cgame/cg_syscalls.c') diff --git a/src/cgame/cg_syscalls.c b/src/cgame/cg_syscalls.c index 321783a..c716a81 100644 --- a/src/cgame/cg_syscalls.c +++ b/src/cgame/cg_syscalls.c @@ -412,7 +412,11 @@ void trap_GetCurrentSnapshotNumber( int *snapshotNumber, int *serverTime ) syscall( CG_GETCURRENTSNAPSHOTNUMBER, snapshotNumber, serverTime ); } +#ifdef MODULE_INTERFACE_11 +qboolean trap_GetSnapshot( int snapshotNumber, moduleAlternateSnapshot_t *snapshot ) +#else qboolean trap_GetSnapshot( int snapshotNumber, snapshot_t *snapshot ) +#endif { return syscall( CG_GETSNAPSHOT, snapshotNumber, snapshot ); } -- cgit