Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-02-17 18:59:52 +0000
committerStijn Buys <ingar@osirion.org>2008-02-17 18:59:52 +0000
commit982562fa19bb87a3dab352e562f386f61c171b7b (patch)
treeaeade8d5b7d3c68f5c222af1d8ecc6a734e1b43f /src/server/console.cc
parentd198b7b8d9ff713d891f35ab173d1f428f610e7d (diff)
major rewrite of Cvar, Func and Entity
Diffstat (limited to 'src/server/console.cc')
-rw-r--r--src/server/console.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/console.cc b/src/server/console.cc
index a8cc02e..77b5d28 100644
--- a/src/server/console.cc
+++ b/src/server/console.cc
@@ -52,7 +52,7 @@ void init()
con_print << "Initializing console..." << std::endl;
// register our engine functions
- core::func::add("con_ping", func_con_ping);
+ core::Func::add("con_ping", (core::FuncPtr) func_con_ping);
}
void shutdown()
@@ -60,7 +60,7 @@ void shutdown()
con_print << "Shutting down console..." << std::endl;
// unregister our engine functions
- core::func::remove("con_ping");
+ core::Func::remove("con_ping");
}
//--- private -----------------------------------------------------