From fa266334fd825824d413c7817e1f3331c35e40a0 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Thu, 4 Sep 2008 21:36:44 +0000 Subject: fixed on_console_init and on_save --- src/game/client/components/binds.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/game/client/components/binds.cpp') diff --git a/src/game/client/components/binds.cpp b/src/game/client/components/binds.cpp index 7fd318ab..7fa5da5e 100644 --- a/src/game/client/components/binds.cpp +++ b/src/game/client/components/binds.cpp @@ -92,7 +92,7 @@ void BINDS::set_defaults() bind('Y', "chat team"); } -void BINDS::on_init() +void BINDS::on_console_init() { // bindings MACRO_REGISTER_COMMAND("bind", "sr", con_bind, this); @@ -176,8 +176,7 @@ int BINDS::get_key_id(const char *key_name) return 0; } -/* -void binds_save() +void BINDS::on_save() { char buffer[256]; char *end = buffer+sizeof(buffer)-8; @@ -204,5 +203,3 @@ void binds_save() client_save_line(buffer); } } - -*/ -- cgit 1.4.1