Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/client.cc')
-rw-r--r--src/client/client.cc8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/client/client.cc b/src/client/client.cc
index f67cce0..7ba61d6 100644
--- a/src/client/client.cc
+++ b/src/client/client.cc
@@ -46,13 +46,7 @@ void func_snd_restart(std::string const &args)
void func_r_restart(std::string const &args)
{
- video::shutdown();
-
- if (!video::init()) {
- app.quit(1);
- }
-
- input::reset();
+ video::restart();
}
//--- public ------------------------------------------------------