Skip to content

Commit

Permalink
Fixed bug
Browse files Browse the repository at this point in the history
  • Loading branch information
TanishTuteja committed Apr 18, 2022
1 parent fc3eeb2 commit 5377207
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Game.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ void LGame::render(SDL_Renderer *renderer)
viewport.h = gyRenderOffset + 2 * gyPadding;
SDL_RenderSetViewport(renderer, &viewport);

if (!gameEnded)
if (gameEnded)
{
pressAnyKey->render(renderer, 0, gyPadding);
}
Expand Down
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const int SCREEN_HEIGHT = 480;
int main(int argc, char *args[])
{
srand(time(0));
std::string serverIp = "192.168.227.10";
std::string serverIp = "192.168.227.102";
if (argc > 1)
{
serverIp = args[1];
Expand Down

0 comments on commit 5377207

Please sign in to comment.