mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +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 (ptr == insptr)
|
||||||
{
|
{
|
||||||
if (vm.spriteNum)
|
if (vm.pUSprite)
|
||||||
initprintf("current actor: %d (%d)\n", vm.spriteNum, vm.pUSprite->picnum);
|
initprintf("current actor: %d (%d)\n", vm.spriteNum, vm.pUSprite->picnum);
|
||||||
|
|
||||||
initprintf("g_errorLineNum: %d, g_tw: %d\n", g_errorLineNum, g_tw);
|
initprintf("g_errorLineNum: %d, g_tw: %d\n", g_errorLineNum, g_tw);
|
||||||
|
|
Loading…
Reference in a new issue