the fix but actually accurate:

This commit is contained in:
LittlePlanetCD 2023-06-14 03:04:32 -05:00
parent 8e8eb1b390
commit 6101a12d5b

View File

@ -108,16 +108,15 @@ void MSBomb_State_SilverSonicExplode(void)
}
EntityMSBomb *bomb = CREATE_ENTITY(MSBomb, INT_TO_VOID(true), self->position.x, self->position.y);
yVel = -yVel;
bomb->velocity.x = -xVel;
bomb->velocity.y = yVel;
bomb->velocity.y = -yVel;
bomb = CREATE_ENTITY(MSBomb, INT_TO_VOID(true), self->position.x, self->position.y);
bomb->velocity.x = xVel;
bomb->velocity.y = yVel;
bomb->velocity.y = -yVel;
bomb = CREATE_ENTITY(MSBomb, INT_TO_VOID(true), self->position.x, self->position.y);
yVel = yVel >> 1;
yVel = -(yVel >> 1);
bomb->velocity.x = -xVel;
bomb->velocity.y = yVel;