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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/commandbuffer.cc b/src/core/commandbuffer.cc
index 5ab40e5..729c1db 100644
--- a/src/core/commandbuffer.cc
+++ b/src/core/commandbuffer.cc
@@ -76,7 +76,7 @@ void CommandBuffer::exec(std::string const &cmdline)
}
if ((f->flags() & Func::Game)) {
if (application()->connected()) {
- f->exec(&Player::local, args);
+ f->exec(game()->localplayer(), args);
}
} else {
f->exec(args);