about summary refs log tree commit diff
path: root/src/game/client/components/binds.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/client/components/binds.cpp')
-rw-r--r--src/game/client/components/binds.cpp7
1 files changed, 2 insertions, 5 deletions
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);
 	}
 }
-
-*/