if ((bullet->owner == &player) || (bullet->owner == &engine.world) || (bullet->flags & ENT_BOSS))
{
- snprintf(comboString, sizeof comboString, "Combo-%s", bullet->name);
-
if (Collision::collision(enemy, bullet))
{
if (bullet->id != WP_LASER)
checkCombo();
}
+ snprintf(comboString, sizeof comboString, "Combo-%s", bullet->name);
checkObjectives(comboString, false);
checkObjectives("Enemy", false);
checkObjectives(enemy->name, false);
{
if (player.currentWeapon != &weapon[WP_LASER])
{
+ snprintf(comboString, sizeof comboString, "Combo-%s", bullet->name);
checkCombo();
checkObjectives(comboString, false);
}