mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 17:01:51 +00:00
Replace spritenum check with ptr check in VM_ScriptInfo()
git-svn-id: https://svn.eduke32.com/eduke32@7005 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d5381e701f
commit
0757a6570b
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ void VM_ScriptInfo(intptr_t const *ptr, int range)
|
|||
|
||||
if (ptr == insptr)
|
||||
{
|
||||
if (vm.spriteNum)
|
||||
if (vm.pUSprite)
|
||||
initprintf("current actor: %d (%d)\n", vm.spriteNum, vm.pUSprite->picnum);
|
||||
|
||||
initprintf("g_errorLineNum: %d, g_tw: %d\n", g_errorLineNum, g_tw);
|
||||
|
|
Loading…
Reference in a new issue