QTfrontend/newnetclient.cpp
changeset 2706 935b7d618cf0
parent 2543 bf1da5037433
child 2747 7889a3a9724f
--- a/QTfrontend/newnetclient.cpp	Sun Jan 24 13:37:03 2010 +0000
+++ b/QTfrontend/newnetclient.cpp	Sun Jan 24 13:38:14 2010 +0000
@@ -646,6 +646,14 @@
 	RawSendNet(QString("INFO%1%2").arg(delimeter).arg(nick));
 }
 
+void HWNewNet::followPlayer(const QString & nick)
+{
+	if (!isInRoom()) {
+		RawSendNet(QString("FOLLOW%1%2").arg(delimeter).arg(nick));
+		isChief = false;
+	}
+}
+
 void HWNewNet::startGame()
 {
 	RawSendNet(QString("START_GAME"));