diff options
author | IronClawTrem <louie.nutman@gmail.com> | 2020-04-09 18:30:35 +0100 |
---|---|---|
committer | IronClawTrem <louie.nutman@gmail.com> | 2020-04-09 18:31:16 +0100 |
commit | f324890e9715490c909ca6123948f4157401324c (patch) | |
tree | 9db453bd1cf86ea2a5751dadd073c003635f9f3e /src/cgame/cg_syscalls.c | |
parent | c378d3fb9f7f443ee6a6f78f490f2bc203aba5ea (diff) |
multiprotocol: gamelogic code for 1.1
Diffstat (limited to 'src/cgame/cg_syscalls.c')
-rw-r--r-- | src/cgame/cg_syscalls.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 ); } |