I am an idiot

git-svn-id: https://svn.eduke32.com/eduke32@1686 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2010-08-07 22:59:46 +00:00
parent b336d43f75
commit 9f7c8d7a23

View file

@ -387,6 +387,7 @@ GAMEEXEC_STATIC GAMEEXEC_INLINE void VM_AlterAng(int32_t a)
{ {
vm.g_t[1] = 0; vm.g_t[1] = 0;
OSD_Printf(CON_ERROR "%s %d bad moveptr for actor %d (%d)!\n",g_errorLineNum, keyw[g_tw], vm.g_i, vm.g_sp->picnum); OSD_Printf(CON_ERROR "%s %d bad moveptr for actor %d (%d)!\n",g_errorLineNum, keyw[g_tw], vm.g_i, vm.g_sp->picnum);
return;
} }
vm.g_sp->xvel += (*moveptr-vm.g_sp->xvel)/5; vm.g_sp->xvel += (*moveptr-vm.g_sp->xvel)/5;
@ -525,6 +526,7 @@ GAMEEXEC_STATIC void VM_Move(void)
{ {
vm.g_t[1] = 0; vm.g_t[1] = 0;
OSD_Printf(CON_ERROR "%s %d bad moveptr for actor %d (%d)!\n",g_errorLineNum, keyw[g_tw], vm.g_i, vm.g_sp->picnum); OSD_Printf(CON_ERROR "%s %d bad moveptr for actor %d (%d)!\n",g_errorLineNum, keyw[g_tw], vm.g_i, vm.g_sp->picnum);
return;
} }
if (a&dodgebullet && !deadflag) if (a&dodgebullet && !deadflag)