diff options
author | Stijn Buys <ingar@osirion.org> | 2008-02-18 17:52:15 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-02-18 17:52:15 +0000 |
commit | 0b8582a9aa825024edbd0a21c6287bfcccec28de (patch) | |
tree | 2d9a46c60b028300b1b9133b84764b6c39964c33 /src/core/commandbuffer.cc | |
parent | 982562fa19bb87a3dab352e562f386f61c171b7b (diff) |
core redesign, part II
Diffstat (limited to 'src/core/commandbuffer.cc')
-rw-r--r-- | src/core/commandbuffer.cc | 4 |
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 { |