Destructable death bug fix.
This commit is contained in:
parent
24d26b094c
commit
938fbaf9e0
|
@ -23,6 +23,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||||
static void init(void);
|
static void init(void);
|
||||||
static void applyDamage(int amount);
|
static void applyDamage(int amount);
|
||||||
static void action(void);
|
static void action(void);
|
||||||
|
static void die(void);
|
||||||
static void load(cJSON *root);
|
static void load(cJSON *root);
|
||||||
static void save(cJSON *root);
|
static void save(cJSON *root);
|
||||||
|
|
||||||
|
@ -45,6 +46,7 @@ Entity *initDestructable(void)
|
||||||
s->init = init;
|
s->init = init;
|
||||||
s->applyDamage = applyDamage;
|
s->applyDamage = applyDamage;
|
||||||
s->action = action;
|
s->action = action;
|
||||||
|
s->die = die;
|
||||||
s->load = load;
|
s->load = load;
|
||||||
s->save = save;
|
s->save = save;
|
||||||
|
|
||||||
|
@ -106,6 +108,11 @@ static void action(void)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static void die(void)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
static void load(cJSON *root)
|
static void load(cJSON *root)
|
||||||
{
|
{
|
||||||
Structure *s;
|
Structure *s;
|
||||||
|
|
Loading…
Reference in New Issue