Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Grumbel committed Aug 8, 2014
1 parent 264ce27 commit 55cbdbc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 3 additions & 6 deletions src/gui/menu_item.cpp
Expand Up @@ -28,18 +28,15 @@ static const float FLICK_CURSOR_TIME = 0.5f;
MenuItem::MenuItem(MenuItemKind _kind, int _id) :
kind(_kind),
id(_id),
toggled(),
toggled(false),
text(),
input(),
help(),
list(),
selected(),
target_menu(),
selected(false),
target_menu(MenuStorage::NO_MENU),
input_flickering()
{
toggled = false;
selected = false;
target_menu = MenuStorage::NO_MENU;
}

void
Expand Down
5 changes: 4 additions & 1 deletion src/supertux/world.hpp
Expand Up @@ -52,7 +52,6 @@ class World
/** returns player status */
PlayerStatus* get_player_status() const { return player_status.get(); }


void run();

private:
Expand All @@ -69,6 +68,10 @@ class World
public:
bool hide_from_contribs;
bool is_levelset;

private:
World(const World&) = delete;
World& operator=(const World&) = delete;
};

#endif
Expand Down

0 comments on commit 55cbdbc

Please sign in to comment.