rnd-20051129-1-src
[rocksndiamonds.git] / src / cartoons.c
index aa9667c27fceee45e287694e5dd82ea5a38d60bf..9b6626b6cc777b76cb8f06908b968007adc09269 100644 (file)
@@ -67,10 +67,10 @@ void InitToons()
   int num_toons = MAX_NUM_TOONS;
   int i;
 
-  if (global.num_toons > 0 && global.num_toons < MAX_NUM_TOONS)
+  if (global.num_toons >= 0 && global.num_toons < MAX_NUM_TOONS)
     num_toons = global.num_toons;
 
-  for (i=0; i < num_toons; i++)
+  for (i = 0; i < num_toons; i++)
   {
     int graphic = IMG_TOON_1 + i;
     struct FileInfo *image = getImageListEntryFromImageID(graphic);