- Fix loads of format string bugs

- Fix locally looping sounds, thanks to Timbo
This commit is contained in:
Thilo Schulz 2007-01-24 21:23:21 +00:00
parent 4b9df8d9e9
commit 5dc3b35b49
9 changed files with 28 additions and 30 deletions

View file

@ -907,7 +907,7 @@ done:
vm->currentlyInterpreting = qfalse;
if ( opStack != &stack[1] ) {
Com_Error( ERR_DROP, "Interpreter error: opStack = %i", opStack - stack );
Com_Error( ERR_DROP, "Interpreter error: opStack = %ld", (long int) (opStack - stack) );
}
vm->programStack = stackOnEntry;