Commit 4f435518 authored by nanahira's avatar nanahira

Revert "fix zombie room"

This reverts commit c69ce68b.
parent c69ce68b
...@@ -177,13 +177,6 @@ void SingleDuel::JoinGame(DuelPlayer* dp, unsigned char* pdata, bool is_creater) ...@@ -177,13 +177,6 @@ void SingleDuel::JoinGame(DuelPlayer* dp, unsigned char* pdata, bool is_creater)
} }
} }
void SingleDuel::LeaveGame(DuelPlayer* dp) { void SingleDuel::LeaveGame(DuelPlayer* dp) {
#ifdef YGOPRO_SERVER_MODE
if(dp->type == 0 && duel_stage != DUEL_STAGE_BEGIN) {
EndDuel();
NetServer::StopServer();
return;
}
#endif
if(dp == host_player) { if(dp == host_player) {
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
int host_pos; int host_pos;
......
...@@ -165,13 +165,6 @@ void TagDuel::JoinGame(DuelPlayer* dp, unsigned char* pdata, bool is_creater) { ...@@ -165,13 +165,6 @@ void TagDuel::JoinGame(DuelPlayer* dp, unsigned char* pdata, bool is_creater) {
} }
} }
void TagDuel::LeaveGame(DuelPlayer* dp) { void TagDuel::LeaveGame(DuelPlayer* dp) {
#ifdef YGOPRO_SERVER_MODE
if(dp->type == 0 && duel_stage != DUEL_STAGE_BEGIN) {
EndDuel();
NetServer::StopServer();
return;
}
#endif
if(dp == host_player) { if(dp == host_player) {
#ifdef YGOPRO_SERVER_MODE #ifdef YGOPRO_SERVER_MODE
int host_pos; int host_pos;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment