Logic was off by one!
This commit is contained in:
parent
6cbf434429
commit
e08837815a
1 changed files with 1 additions and 1 deletions
|
|
@ -3893,7 +3893,7 @@ static void mainloop(void)
|
||||||
/* Color! */
|
/* Color! */
|
||||||
which = GRIDHIT_GD(r_colors,gd_colors);
|
which = GRIDHIT_GD(r_colors,gd_colors);
|
||||||
|
|
||||||
if (which > 0 && which < NUM_COLORS)
|
if (which >= 0 && which < NUM_COLORS)
|
||||||
{
|
{
|
||||||
cur_color = which;
|
cur_color = which;
|
||||||
playsound(1, SND_BUBBLE, 1);
|
playsound(1, SND_BUBBLE, 1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue