[Fix] Just initializing int fps; in game.cpp upon declaration.
This commit is contained in:
parent
881ceb14fd
commit
c90b9fd53a
BIN
Unuk-QT/Unuk-QT
BIN
Unuk-QT/Unuk-QT
Binary file not shown.
@ -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();
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user