summaryrefslogtreecommitdiff
path: root/src/cgame/cg_syscalls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cgame/cg_syscalls.c')
-rw-r--r--src/cgame/cg_syscalls.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cgame/cg_syscalls.c b/src/cgame/cg_syscalls.c
index 1239165..aa42019 100644
--- a/src/cgame/cg_syscalls.c
+++ b/src/cgame/cg_syscalls.c
@@ -407,7 +407,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 );
}