summaryrefslogtreecommitdiff
path: root/src/sv_mvd.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2011-02-23 19:24:16 +0300
committerAndrey Nazarov <skuller@skuller.net>2011-02-23 19:24:16 +0300
commite7b4367c5b243d9210fbd5df957fce6623dc40f0 (patch)
tree7ad9972b4bfc23d60ace7f2992330e61e156b569 /src/sv_mvd.c
parent639a1eac1f4313862c8809421dca89d39d7c3a2e (diff)
Get rid of killtype_t enum.
Diffstat (limited to 'src/sv_mvd.c')
-rw-r--r--src/sv_mvd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sv_mvd.c b/src/sv_mvd.c
index ae0b61b..b1f0eab 100644
--- a/src/sv_mvd.c
+++ b/src/sv_mvd.c
@@ -1949,9 +1949,9 @@ SV_MvdShutdown
Server is shutting down, clean everything up.
==================
*/
-void SV_MvdShutdown( killtype_t type ) {
+void SV_MvdShutdown( error_type_t type ) {
// drop all clients
- mvd_drop( type == KILL_RESTART ? GTS_RECONNECT : GTS_DISCONNECT );
+ mvd_drop( type == ERR_RECONNECT ? GTS_RECONNECT : GTS_DISCONNECT );
// free static data
Z_Free( mvd.message.data );