summaryrefslogtreecommitdiff
path: root/src/holder.c
blob: d15f2cba0a33ee95925e9ab7fd9fd520584395da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "holder.h"

int hover_max = 2;

void hover_move_right() {
	++hover;
	if(hover > hover_max) hover = hover_max;
}

void hover_move_left() {
	--hover;
	if(hover < 0) hover = 0;
}