From b392b0d97f3ea048478059873ed6dec8afd9634b Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Sun, 8 Feb 2015 13:55:15 +0100 Subject: implement part 1 of the multi-protocol functionality: protocols this contains support for connecting via, and serving simultaneously via, any of the three protocols: latest, GPP and 1.1 alternate-1 means protocol 70 (GPP), alternate-2 means protocol 69 (1.1) relevant cvars: - net_alternateProtocols - net_alt{1|2}port[6] - sv_alt{1|2}master{1|...|5} - sv_clAltProto{0|..|63} --- src/qcommon/vm.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/qcommon/vm.c') diff --git a/src/qcommon/vm.c b/src/qcommon/vm.c index 18be5331..aa77f605 100644 --- a/src/qcommon/vm.c +++ b/src/qcommon/vm.c @@ -744,6 +744,10 @@ void VM_Forced_Unload_Done(void) { forced_unload = 0; } +void VM_ClearCallLevel(vm_t *vm) { + vm->callLevel = 0; +} + void *VM_ArgPtr( intptr_t intValue ) { if ( !intValue ) { return NULL; -- cgit