unify checks for single and multiplayer

This commit is contained in:
qndel 2021-02-18 19:30:41 +01:00 committed by Anders Jenbo
commit ab9911064f
33 changed files with 213 additions and 210 deletions

View file

@ -72,7 +72,7 @@ void dthread_send_delta(int pnum, char cmd, void *pbSrc, int dwLen)
TMegaPkt *pkt;
TMegaPkt *p;
if (gbMaxPlayers == 1) {
if (!gbIsMultiplayer) {
return;
}
@ -97,7 +97,7 @@ void dthread_start()
{
const char *error_buf;
if (gbMaxPlayers == 1) {
if (!gbIsMultiplayer) {
return;
}