diff examples/example-battle/spell-fire.c @ 235:fb304a94a05c

rpg: prepare equipment
author David Demelier <markand@malikania.fr>
date Thu, 26 Nov 2020 18:00:45 +0100
parents 86b71e1f9dd5
children 08ab73b32832
line wrap: on
line diff
--- a/examples/example-battle/spell-fire.c	Thu Nov 26 13:33:31 2020 +0100
+++ b/examples/example-battle/spell-fire.c	Thu Nov 26 18:00:45 2020 +0100
@@ -51,7 +51,7 @@
 {
 	const struct data *data = act->data;
 	const struct battle_entity *et = &data->battle->enemies[data->selection];
-	const struct sprite *sprite = et->ch->sprites[CHARACTER_SPRITE_WALK];
+	const struct sprite *sprite = et->ch->sprites[CHARACTER_SPRITE_NORMAL];
 	int x, y;
 
 	align(ALIGN_CENTER,