Mercurial > molko
diff libmlk-rpg/rpg/battle-entity-state-moving.c @ 298:196264679079
misc: remove usage of bool
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 10 Mar 2021 18:49:08 +0100 |
parents | 6367b976112d |
children | d01e83210ca2 |
line wrap: on
line diff
--- a/libmlk-rpg/rpg/battle-entity-state-moving.c Wed Mar 10 18:49:00 2021 +0100 +++ b/libmlk-rpg/rpg/battle-entity-state-moving.c Wed Mar 10 18:49:08 2021 +0100 @@ -49,7 +49,7 @@ return pos->x < et->x ? 6 : 2; } -static bool +static int update(struct battle_entity_state *st, struct battle_entity *et, unsigned int ticks) { struct position *pos = st->data;