Give map-placed bananas a random angle

This commit is contained in:
Sally Coolatta 2022-09-27 23:04:38 -04:00
parent aa7c7df27c
commit c22d652add

View file

@ -12734,6 +12734,14 @@ static boolean P_SetupSpawnedMapThing(mapthing_t *mthing, mobj_t *mobj, boolean
// Increment no. of capsules on the map counter
maptargets++;
break;
}
case MT_BANANA:
{
// Give Duel bananas a random angle
mobj->angle = FixedMul(P_RandomFixed(PR_DECORATION), ANGLE_MAX);
*doangle = false;
break;
}
default:
break;