summaryrefslogtreecommitdiff
path: root/src/network/core/packet.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-01-28 20:47:25 +0000
committerrubidium <rubidium@openttd.org>2007-01-28 20:47:25 +0000
commitf72dde5236afd8d9a2e29ae1750e8933666b711f (patch)
treef0a56923473a03a88c71f37b852a587ba3c56fa7 /src/network/core/packet.cpp
parent2e984e04775e97ce07698c5f45ed868cb1727ead (diff)
downloadopenttd-f72dde5236afd8d9a2e29ae1750e8933666b711f.tar.xz
(svn r8445) -Cleanup: remove some @params from comments as the parameters did not exist anymore and add comments to several variables/functions.
Diffstat (limited to 'src/network/core/packet.cpp')
-rw-r--r--src/network/core/packet.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/core/packet.cpp b/src/network/core/packet.cpp
index fe10af48f..a1f50e15e 100644
--- a/src/network/core/packet.cpp
+++ b/src/network/core/packet.cpp
@@ -10,7 +10,7 @@
#include "packet.h"
/**
- * @file packet.h Basic functions to create, fill and read packets.
+ * @file packet.cpp Basic functions to create, fill and read packets.
*/
@@ -94,6 +94,8 @@ void NetworkSend_uint64(Packet *packet, uint64 data)
/**
* Sends a string over the network. It sends out
* the string + '\0'. No size-byte or something.
+ * @param packet packet to send the string in
+ * @param data the string to send
*/
void NetworkSend_string(Packet *packet, const char* data)
{