diff --git a/source/games/duke/src/namelist_r.h b/source/games/duke/src/namelist_r.h index 3138fa4a2..34b86155e 100644 --- a/source/games/duke/src/namelist_r.h +++ b/source/games/duke/src/namelist_r.h @@ -170,7 +170,7 @@ x(NUGGETSPAWN, 290) x(ROASTSPAWN, 291) x(BONELESSSPAWN, 292) x(JIBSSPAWN, 293) -y(RRTILE295, 295) +x(KEGHOLDER, 295) // that's what the text on the sprite says. It doesn't seem to do anything. y(RRTILE296, 296) y(RRTILE297, 297) x(CDPLAYER, 370) diff --git a/source/games/duke/src/sectors_r.cpp b/source/games/duke/src/sectors_r.cpp index 1732a6518..a03600cd6 100644 --- a/source/games/duke/src/sectors_r.cpp +++ b/source/games/duke/src/sectors_r.cpp @@ -526,7 +526,7 @@ bool checkhitswitch_r(int snum, walltype* wwal, DDukeActor* act) other2->spr.extra = 0; S_PlayActorSound(474, other2); } - else if (other2->spr.picnum == RRTILE295) + else if (other2->spr.picnum == KEGHOLDER) other2->Destroy(); } other->spr.picnum++; diff --git a/source/games/duke/src/spawn_r.cpp b/source/games/duke/src/spawn_r.cpp index e6c2d0353..3e2aafb85 100644 --- a/source/games/duke/src/spawn_r.cpp +++ b/source/games/duke/src/spawn_r.cpp @@ -451,7 +451,7 @@ DDukeActor* spawninit_r(DDukeActor* actj, DDukeActor* act, TArray* act->spr.scale = DVector2(0.328125, 0.234375); ChangeActorStat(act, STAT_ZOMBIEACTOR); break; - case RRTILE295: + case KEGHOLDER: act->spr.cstat |= CSTAT_SPRITE_INVISIBLE; ChangeActorStat(act, STAT_LUMBERMILL); break;