initilized scale of world objects
authorIvan Hernanez <iturtleman128@gmail.com>
Mon, 28 May 2012 05:01:50 +0000 (00:01 -0500)
committerIvan Hernanez <iturtleman128@gmail.com>
Mon, 28 May 2012 05:01:50 +0000 (00:01 -0500)
Level.cpp
WorldObject.h

index 5d7eca3..961fed5 100644 (file)
--- a/Level.cpp
+++ b/Level.cpp
@@ -89,8 +89,6 @@ void Level::drawScene()
                {
                        cerr << "SDL_BlitSurface() Failed: " << SDL_GetError() << endl;
                }
-               else
-                       cout<<"Drew: "<<txt<<endl;
 
                SDL_FreeSurface(text);
        }
index 3995954..be9a448 100644 (file)
@@ -10,7 +10,8 @@ public:
                ZOrder(z),
                mVisible(true),
                mTransparency(1),
-               mAngle(0)
+               mAngle(0),
+               mScale(0)
          {}
        virtual void draw() = 0;/**< Draws the Object. */
        void drawCollisions(vector<Collision*>& vec, const Point2D& pos);/**< Draws Collision data for the Object */