Fix unused variables

This commit is contained in:
Sally Coolatta 2022-09-23 04:08:07 -04:00
parent 21bd7bf041
commit d43a5d0554

View file

@ -6033,14 +6033,15 @@ void K_DoSneaker(player_t *player, INT32 type)
static void K_DoShrink(player_t *user)
{
mobj_t *mobj, *next;
S_StartSound(NULL, sfx_kc46); // Sound the BANG!
user->pflags |= PF_ATTACKDOWN;
Obj_CreateShrinkPohbees(user);
#if 0
{
mobj_t *mobj, *next;
// kill everything in the kitem list while we're at it:
for (mobj = kitemcap; mobj; mobj = next)
{
@ -6070,6 +6071,7 @@ static void K_DoShrink(player_t *user)
mobj->flags &= ~(MF_SOLID|MF_SHOOTABLE|MF_SPECIAL);
mobj->flags |= MF_NOCLIPTHING; // Just for safety
}
}
#endif
}