From b54666222ca5020438aa9151a51a295269b1b319 Mon Sep 17 00:00:00 2001 From: Aaron Marks Date: Sun, 24 Jul 2005 05:41:44 +0000 Subject: Added character selection. --- src/netcomputer.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/netcomputer.cpp') diff --git a/src/netcomputer.cpp b/src/netcomputer.cpp index a924591..663d74a 100644 --- a/src/netcomputer.cpp +++ b/src/netcomputer.cpp @@ -28,7 +28,8 @@ NetComputer::NetComputer(ConnectionHandler *handler, TCPsocket sock): handler(handler), socket(sock), - account(NULL) + account(NULL), + character(NULL) { } @@ -51,3 +52,8 @@ void NetComputer::setAccount(tmwserv::Account *acc) { account = acc; } + +void NetComputer::setCharacter(tmwserv::Being *ch) +{ + character = ch; +} -- cgit