summaryrefslogtreecommitdiff
path: root/src/netcomputer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/netcomputer.cpp')
-rw-r--r--src/netcomputer.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/netcomputer.cpp b/src/netcomputer.cpp
index a9245910..663d74a8 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;
+}