]> git.mmlx.us Git - IvanGame.git/commitdiff
Matt committed code that didn't compile. Fixed. master
authorMatt Mullins <mokomull@gmail.com>
Sat, 16 Jun 2012 06:46:53 +0000 (23:46 -0700)
committerMatt Mullins <mokomull@gmail.com>
Sat, 16 Jun 2012 06:46:53 +0000 (23:46 -0700)
Animation.h
Level.h

index dca4577c36110d59e35d477e3eb8acb283ce68a3..33f4615c4196f70cb82f0ff57d7cc695749ae3ac 100644 (file)
@@ -19,11 +19,11 @@ class Animation
 {
 public:
        /// Tells if loading the Animation was successful
-       int mBuilt,
+       int mBuilt;
        /// Number of frames in this Animation
-       mNumFrames,
+       int mNumFrames;
        /// Animation's current width
-       int mW,
+       int mW;
        /// The animation's current Height
        int mH;
        std::vector<SpriteFrame> Frames;
diff --git a/Level.h b/Level.h
index 8ddb904b1a2f71345b1ff330e392b43a0c5cc590..93bfc847c17802a303cf75e3b345bff4bbab691d 100644 (file)
--- a/Level.h
+++ b/Level.h
@@ -225,7 +225,7 @@ protected: // allow inheritance
        /// Textures that have been loaded by the level.
        map<string, Texture> mTextures;
        /// List of sprites that should be added this game loop
-       vector<WorldObject*> ToAdd
+       vector<WorldObject*> ToAdd;
        /// List of sprites that should die after this game loop
        vector<WorldObject*> ToRemove;
        /// List of all the fonts we have