/*
-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 (enemy->health > -100)
{
- enemy->dx = enemy->dx = 0;
+ enemy->dx = enemy->dy = 0;
enemy->health = -1;
if (enemy->health % 10)
{
debug(("aquaBossMainInit\n"));
map.boss[0] = new Boss();
- strcpy(map.boss[0]->name, "BioMech Aqua Blob");
+ strlcpy(map.boss[0]->name, "BioMech Aqua Blob", sizeof map.boss[0]->name);
map.boss[0]->health = 45 * game.skill;
map.boss[0]->maxHealth = 45 * game.skill;
map.boss[0]->setSprites(graphics.getSprite("AquaBossRight", true), graphics.getSprite("AquaBossLeft", true), graphics.getSprite("AquaBossLeft", true));