• R/O
  • SSH

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

This is a fork of Zandronum for TSPG.


Commit MetaInfo

Revisión17e5ed2390331208c4be9bae78786143093fa058 (tree)
Tiempo2018-03-17 19:26:52
AutorSean Baggaley <sean@csnx...>
CommiterSean Baggaley

Log Message

Fix the space being prepended to the hostname even when there was no prefix

Cambiar Resumen

Diferencia incremental

diff -r 1115cf190ecd -r 17e5ed239033 src/sv_master.cpp
--- a/src/sv_master.cpp Sat Mar 17 09:57:02 2018 +0000
+++ b/src/sv_master.cpp Sat Mar 17 10:26:52 2018 +0000
@@ -697,7 +697,7 @@
697697 return;
698698 }
699699
700- if (static_cast<const char *>(self)[0] != '\0')
700+ if (static_cast<const char *>(tspg_branding_hostnameprefix)[0] != '\0')
701701 {
702702 tspgPrefixLock = true;
703703 const char *val = sv_hostname.GetGenericRep(CVAR_String).String;
diff -r 1115cf190ecd -r 17e5ed239033 src/version.h
--- a/src/version.h Sat Mar 17 09:57:02 2018 +0000
+++ b/src/version.h Sat Mar 17 10:26:52 2018 +0000
@@ -140,7 +140,7 @@
140140 // The maximum length of one save game description for the menus.
141141 #define SAVESTRINGSIZE 24
142142
143-#define TSPG_VERSION 6
143+#define TSPG_VERSION 7
144144
145145 #ifdef TSPG_DEBUG
146146 #define TSPG_VERSION_STR SAVEVERSTRINGIFY(TSPG_VERSION) "-dbg"