Logic was off by one!

This commit is contained in:
William Kendrick 2006-02-12 23:08:07 +00:00
parent 6cbf434429
commit e08837815a

View file

@ -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);