/*
-Copyright (C) 2004 Parallel Realities
+Copyright (C) 2004-2010 Parallel Realities
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
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);
}