[Fix] Just initializing int fps; in game.cpp upon declaration.

This commit is contained in:
Rtch90 2011-12-28 02:53:01 +00:00
parent 881ceb14fd
commit c90b9fd53a
3 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -21,7 +21,7 @@ gameNavVal_t Game::Run(const string savegameIDArg) {
LoadSavegame(savegameIDArg); LoadSavegame(savegameIDArg);
int fps; int fps = 0;
int frame = 0; int frame = 0;
int nextGameTick = SDL_GetTicks(); int nextGameTick = SDL_GetTicks();

View File

@ -18,7 +18,7 @@ public:
void Render(void) { _tile.Render(), _entity.Render(); } void Render(void) { _tile.Render(), _entity.Render(); }
// Tile Mutators. // Tile Mutators.
void SetTileTexture(SDL_Surface* arg) { _tile.SetTexture(arg); } void SetTileTexture(SDL_Surface* arg) { _tile.SetTexture(arg); }
void SetTileSolidity(bool arg) { _tile.SetSolidity(arg); } void SetTileSolidity(bool arg) { _tile.SetSolidity(arg); }
bool GetTileSolidity(void) { return _tile.GetSolidity(); } bool GetTileSolidity(void) { return _tile.GetSolidity(); }
// Well, it kinda helps if I lay the // Well, it kinda helps if I lay the