Destructable death bug fix.

This commit is contained in:
Steve 2018-02-27 08:15:53 +00:00
parent 24d26b094c
commit 938fbaf9e0
1 changed files with 7 additions and 0 deletions

View File

@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
static void init(void);
static void applyDamage(int amount);
static void action(void);
static void die(void);
static void load(cJSON *root);
static void save(cJSON *root);
@ -45,6 +46,7 @@ Entity *initDestructable(void)
s->init = init;
s->applyDamage = applyDamage;
s->action = action;
s->die = die;
s->load = load;
s->save = save;
@ -106,6 +108,11 @@ static void action(void)
}
}
static void die(void)
{
}
static void load(cJSON *root)
{
Structure *s;