Remove unused minor stuff
This commit is contained in:
parent
b8c30e83e3
commit
354034b06b
|
@ -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)
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue