summaryrefslogtreecommitdiff
path: root/VegetationConfiguration.cpp
diff options
context:
space:
mode:
authorJapa2010-04-10 03:46:03 +0000
committerJapa2010-04-10 03:46:03 +0000
commit661f48f7a818b144459ce03b15dbf60bfd0ee76f (patch)
tree5036078319364663c6e7293493109c77eda4c121 /VegetationConfiguration.cpp
parent114df922d3073bd296b38cf522997f520fb17850 (diff)
downloadstonesense-661f48f7a818b144459ce03b15dbf60bfd0ee76f.tar.gz
stonesense-661f48f7a818b144459ce03b15dbf60bfd0ee76f.tar.bz2
stonesense-661f48f7a818b144459ce03b15dbf60bfd0ee76f.tar.xz
got trees working
Diffstat (limited to 'VegetationConfiguration.cpp')
-rw-r--r--VegetationConfiguration.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/VegetationConfiguration.cpp b/VegetationConfiguration.cpp
index 1f48fa1..69ff476 100644
--- a/VegetationConfiguration.cpp
+++ b/VegetationConfiguration.cpp
@@ -95,7 +95,15 @@ t_SpriteWithOffset getVegetationSprite(vector<VegetationConfiguration>& vegetati
if (current->grown != grown) continue;
return current->sprite;
}
- t_SpriteWithOffset sprite = {-1,0,0,-1,ALL_FRAMES};
+ t_SpriteWithOffset sprite =
+ {
+ -1,
+ 0,
+ 0,
+ -1,
+ 0,
+ ALL_FRAMES
+ };
return sprite;
}