Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/commandbuffer.cc')
-rw-r--r--src/core/commandbuffer.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/commandbuffer.cc b/src/core/commandbuffer.cc
index 8f02f71..5ab40e5 100644
--- a/src/core/commandbuffer.cc
+++ b/src/core/commandbuffer.cc
@@ -9,10 +9,10 @@
#include <list>
#include "sys/sys.h"
+#include "core/application.h"
#include "core/commandbuffer.h"
#include "core/func.h"
#include "core/cvar.h"
-#include "core/gameinterface.h"
namespace core
{
@@ -75,7 +75,7 @@ void CommandBuffer::exec(std::string const &cmdline)
args += c;
}
if ((f->flags() & Func::Game)) {
- if (game() && game()->connected) {
+ if (application()->connected()) {
f->exec(&Player::local, args);
}
} else {