diff --git a/source/src/clientgame.cpp b/source/src/clientgame.cpp index 3a79158d..b1bfe3da 100644 --- a/source/src/clientgame.cpp +++ b/source/src/clientgame.cpp @@ -1467,9 +1467,9 @@ void scallvote(int *type, const char *arg1, const char *arg2) } case SA_PAUSE: { - if (!arg1 || !isdigit(arg1[0]) || !multiplayer(false)) + if (!arg1 || !isdigit(arg1[0]) || !multiplayer(NULL)) { - if(!multiplayer(false)) + if(!multiplayer(NULL)) conoutf("\f3pause is not available in singleplayer."); else if (arg1 && !isdigit(arg1[0])) conoutf("\f3invalid vote"); break; diff --git a/source/src/main.cpp b/source/src/main.cpp index 2895b693..fb1a8f72 100644 --- a/source/src/main.cpp +++ b/source/src/main.cpp @@ -1498,7 +1498,7 @@ int main(int argc, char **argv) limitfps(millis, totalmillis); int elapsed = millis-totalmillis; entropy_add_byte(elapsed); - if(multiplayer(false)) + if(multiplayer(NULL)) { if(ispaused) curtime = 0; else curtime = elapsed; diff --git a/source/src/renderhud.cpp b/source/src/renderhud.cpp index b39bfc86..7b0a4636 100644 --- a/source/src/renderhud.cpp +++ b/source/src/renderhud.cpp @@ -975,7 +975,7 @@ void gl_drawhud(int w, int h, int curfps, int nquads, int curvert, bool underwat glOrtho(0, VIRTW * matchpausedfontfactor, VIRTH * matchpausedfontfactor, 0, -1, 1); const int left = (VIRTW * matchpausedfontfactor) / 2 - text_width(matchpaused) / 2; const int top = (VIRTH * matchpausedfontfactor) * 5 / 6; - draw_textf(matchpaused, left, top); + draw_text(matchpaused, left, top); } /* * /