diff --git a/src/p_enemy.c b/src/p_enemy.c index 9f5fc86d8..2fdbc6f58 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -12205,9 +12205,9 @@ void A_Boss5BombExplode(mobj_t *actor) P_DustRing(locvar1, 4, actor->x, actor->y, actor->z+actor->height, 2*actor->radius, 0, FRACUNIT, actor->scale); P_DustRing(locvar1, 6, actor->x, actor->y, actor->z+actor->height/2, 3*actor->radius, FRACUNIT, FRACUNIT, actor->scale); - //P_StartQuake(9*actor->scale, TICRATE/6, {actor->x, actor->y, actor->z}, 20*actor->radius); + //P_StartQuake(9*FRACUNIT, TICRATE/6, {actor->x, actor->y, actor->z}, 20*actor->radius); // the above does not exist, so we set the quake values directly instead - quake.intensity = 9*actor->scale; + quake.intensity = 9*FRACUNIT; quake.time = TICRATE/6; // the following quake values have no effect atm? ah well, may as well set them anyway { diff --git a/src/p_spec.c b/src/p_spec.c index 16823916e..764f9c738 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -8746,6 +8746,6 @@ static void P_SpawnPushers(void) // epicenter and radius are not yet used. void P_StartQuake(fixed_t intensity, tic_t time) { - quake.intensity = intensity; + quake.intensity = FixedMul(intensity, mapobjectscale); quake.time = time; }