Fixed complation problems. protocol5

Wed, 20 Jul 2016 17:57:35 +0300

author
Teemu Piippo <teemu@compsta2.com>
date
Wed, 20 Jul 2016 17:57:35 +0300
branch
protocol5
changeset 151
267ef11bd3ba
parent 150
37db42ad451a
child 153
82aac80a2f1d

Fixed complation problems.

sources/interface.cpp file | annotate | diff | comparison | revisions
sources/network/rconsession.cpp file | annotate | diff | comparison | revisions
--- a/sources/interface.cpp	Wed Jul 20 17:56:40 2016 +0300
+++ b/sources/interface.cpp	Wed Jul 20 17:57:35 2016 +0300
@@ -1099,7 +1099,7 @@
 		if (not args.is_empty())
 			m_session.request_watch(args);
 		else
-			print_error("No CVars to watch.\n");
+			printError("No CVars to watch.\n");
 	}
 	else
 		printError("Unknown command: %s\n", command.chars());
--- a/sources/network/rconsession.cpp	Wed Jul 20 17:56:40 2016 +0300
+++ b/sources/network/rconsession.cpp	Wed Jul 20 17:57:35 2016 +0300
@@ -256,7 +256,7 @@
 					if (name == "sv_hostname")
 					{
 						m_hostname = value;
-						m_interface->set_title(m_hostname);
+						m_interface->setTitle(m_hostname);
 					}
 				}
 				break;

mercurial