X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=src%2Factors.c;h=ca1305ce6540dc636e6a6e42b854be2b30542068;hb=bcc3d39d6871e1ef97c2f439d941ae2b9009ff98;hp=05525874f6a64aa616ac6151e5d127bdd3e4668b;hpb=c23b884c2b47fffde180af8179cd8ede5ff67241;p=plomrogue diff --git a/src/actors.c b/src/actors.c index 0552587..ca1305c 100644 --- a/src/actors.c +++ b/src/actors.c @@ -1,7 +1,6 @@ #include "actors.h" #include #include -#include #include "yx_uint16.h" #include "roguelike.h" @@ -31,7 +30,7 @@ extern void move_monster (struct World * world, struct Monster * monster) { monster->pos = t; } extern void move_player (struct World * world, char d) { -// Move player in direction d, increment turn counter and update log. +// Move player in direction d, update log and turn over to the enemy. struct yx_uint16 t = mv_yx_in_dir (d, world->player->pos); struct Monster * monster; for (monster = world->monster; monster != 0; monster = monster->next)