diff options
Diffstat (limited to 'code/qcommon/vm.c')
-rw-r--r-- | code/qcommon/vm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/code/qcommon/vm.c b/code/qcommon/vm.c index 0eb35c5..efc0da8 100644 --- a/code/qcommon/vm.c +++ b/code/qcommon/vm.c @@ -230,7 +230,7 @@ void VM_LoadSymbols( vm_t *vm ) { return; } - COM_StripExtension( vm->name, name ); + COM_StripExtension(vm->name, name, sizeof(name)); Com_sprintf( symbols, sizeof( symbols ), "vm/%s.map", name ); len = FS_ReadFile( symbols, (void **)&mapfile ); if ( !mapfile ) { |