Remove unused minor stuff

This commit is contained in:
Xavier Del Campo Romero 2022-03-31 07:30:14 +02:00
parent b8c30e83e3
commit 354034b06b
2 changed files with 1 additions and 2 deletions

View File

@ -569,7 +569,6 @@ static bool update_from_touch(struct human_player *const h,
mouse_update(m);
keyboard_update(k);
enum {DEAD_ZONE = 5};
struct human_player_kbm *const kbm = &h->periph.kbm;
if (mouse_pressed(m, MOUSE_BUTTON_LEFT) && !kbm->pan)

View File

@ -54,7 +54,7 @@ instance_hp resource_maxhp(const struct resource *const res)
static const instance_hp hp[] =
{
[RESOURCE_TYPE_GOLD] = 1000,
[RESOURCE_TYPE_WOOD] = 45,
[RESOURCE_TYPE_WOOD] = 45
};
return hp[res->type];