summaryrefslogtreecommitdiff
path: root/src/sv_mvd.c
diff options
context:
space:
mode:
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 );