[gnome-nibbles] Fix teleporters after previous commit



commit 21d06391e7a9abebe3b4ed4a31c17f5e6df0c228
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Mar 7 21:26:19 2016 -0600

    Fix teleporters after previous commit
    
    Removing unused enum values cannot possibly cause any issues, right?
    
    I accidentally turned all the teleporters into oranges. This was
    amusing.

 src/nibbles-view.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/nibbles-view.vala b/src/nibbles-view.vala
index f071f21..5c6a5dd 100644
--- a/src/nibbles-view.vala
+++ b/src/nibbles-view.vala
@@ -443,8 +443,6 @@ public class NibblesView : GtkClutter.Embed
             "bonus3.svg",
             "life.svg",
             "diamond.svg",
-            "bonus4.svg",
-            "bonus5.svg",
             "questionmark.svg"
         };
 
@@ -473,7 +471,7 @@ public class NibblesView : GtkClutter.Embed
             "snake-magenta.svg"
         };
 
-        for (int i = 0; i < 8; i++)
+        for (int i = 0; i < 6; i++)
         {
             boni_pixmaps[i] = load_pixmap_file (bonus_files[i],
                                                 2 * game.tile_size, 2 * game.tile_size);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]