diff --git a/src/game/GameModel.cpp b/src/game/GameModel.cpp index 7c6436707..55f8e9c06 100644 --- a/src/game/GameModel.cpp +++ b/src/game/GameModel.cpp @@ -181,7 +181,6 @@ void GameModel::BuildQuickOptionMenu() quickOptions.push_back(new DecorationsOption(this)); quickOptions.push_back(new NGravityOption(this)); quickOptions.push_back(new AHeatOption(this)); - quickOptions.push_back(new DrawGravWallOption(this)); notifyQuickOptionsChanged(); UpdateQuickOptions(); diff --git a/src/game/QuickOptions.h b/src/game/QuickOptions.h index b22834cac..61a6de8d4 100644 --- a/src/game/QuickOptions.h +++ b/src/game/QuickOptions.h @@ -97,21 +97,3 @@ public: m->GetSimulation()->aheat_enable = !m->GetSimulation()->aheat_enable; } }; - -class DrawGravWallOption: public QuickOption -{ -public: - DrawGravWallOption(GameModel * m): - QuickOption("Z", "Draw gravity zones", m, Toggle) - { - - } - virtual bool GetToggle() - { - return m->GetRenderer()->gravityZonesEnabled; - } - virtual void perform() - { - m->GetRenderer()->gravityZonesEnabled = !m->GetRenderer()->gravityZonesEnabled; - } -}; \ No newline at end of file