From 07102fbd39dc10c16ccdf985c90b41b0c96d9f55 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Sun, 16 Apr 2023 21:47:06 +0200 Subject: [PATCH] - fixed missing CANNONBALLS texture alias. --- source/games/duke/src/gameexec.cpp | 3 ++- source/games/duke/src/namelist_d.h | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/games/duke/src/gameexec.cpp b/source/games/duke/src/gameexec.cpp index 9bb7feaf8..09fd0e71d 100644 --- a/source/games/duke/src/gameexec.cpp +++ b/source/games/duke/src/gameexec.cpp @@ -3269,7 +3269,8 @@ bool execute(DDukeActor *actor,int p,double xx) s.g_ac = actor; s.insptr = &ScriptCode[4 + (gs.actorinfo[actor->spr.picnum].scriptaddress)]; auto insptr = coninf? &ScriptCode[4 + coninf->scriptaddress] : nullptr; - if (insptr != s.insptr) Printf("%s: %p vs. %p\n", insptr, s.insptr); + if (insptr != s.insptr) + Printf("%s: %p vs. %p\n", actor->GetClass()->TypeName.GetChars(), insptr, s.insptr); s.killit_flag = 0; int done; diff --git a/source/games/duke/src/namelist_d.h b/source/games/duke/src/namelist_d.h index cbee7ec5b..d1aacc5ef 100644 --- a/source/games/duke/src/namelist_d.h +++ b/source/games/duke/src/namelist_d.h @@ -484,6 +484,7 @@ x(LEGJIB1, 1776) x(APLAYERSWIMMING, 1795) x(CANNON, 1810) x(CANNONBALL, 1817) +x(CANNONBALLS, 1818) x(OCTABRAIN, 1820) x(OCTABRAINSTAYPUT, 1821) x(OCTATOP, 1845)