summaryrefslogtreecommitdiff
path: root/source/protocol.h
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2008-10-03 12:49:06 +0000
committerAndrey Nazarov <skuller@skuller.net>2008-10-03 12:49:06 +0000
commitf8abe42a0d1a42653b39f6cf320d3fbdd1279bb3 (patch)
tree4e56e3647a4f9933f71c5f2cc03b4fa40bfc7709 /source/protocol.h
parent3fb2508c6c5976d418c377847bba1037fa843fff (diff)
Consolidated all MVD server code in a single file for easier portability.
Perform more strict configstring length checks server side. No longer stop reading packets in a loop after an ICMP error.
Diffstat (limited to 'source/protocol.h')
-rw-r--r--source/protocol.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/protocol.h b/source/protocol.h
index 581ecc3..517e6ce 100644
--- a/source/protocol.h
+++ b/source/protocol.h
@@ -238,7 +238,8 @@ typedef enum clc_ops_e {
#define PPS_STATS (1<<14)
#define PPS_REMOVE (1<<15)
-#define PPS_NUM( ps ) (ps)->pmove.pm_flags
+// this is just a small hack to store inuse flag
+// in a field left otherwise unused by MVD code
#define PPS_INUSE( ps ) (ps)->pmove.pm_time
//==============================================