diff options
author | Christopher Schwarz <lakitu7@gmail.com> | 2009-10-21 18:13:17 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:59 +0000 |
commit | e83ed6ee76cb7884bfc12e8c96920f9de0f70809 (patch) | |
tree | c7937d2a8f4ece7d65d654a1705939de27bcce7d /src/qcommon/vm.c | |
parent | 7ea9b68aff5fa0a7306e7c0f0fd138aa58a033fd (diff) |
* (bug 4311) Print file locations of relevant items to simplify troubleshooting (Amanieu)
Diffstat (limited to 'src/qcommon/vm.c')
-rw-r--r-- | src/qcommon/vm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/qcommon/vm.c b/src/qcommon/vm.c index 713256a7..876d36d5 100644 --- a/src/qcommon/vm.c +++ b/src/qcommon/vm.c @@ -387,6 +387,9 @@ vmHeader_t *VM_LoadQVM( vm_t *vm, qboolean alloc ) { return NULL; } + // show where the qvm was loaded from + Cmd_ExecuteString( va( "which %s\n", filename ) ); + if( LittleLong( header.h->vmMagic ) == VM_MAGIC_VER2 ) { Com_Printf( "...which has vmMagic VM_MAGIC_VER2\n" ); |