• R/O
  • SSH

Commit

Tags
Aucun tag

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 Beta for Mac Os (Silicon and Intel)


Commit MetaInfo

Révision10af1739daa34a45cb0817adfdef4106b20c0634 (tree)
l'heure2019-10-14 04:38:53
AuteurBenjamin Berkels <torr.samaho@quan...>
CommiterBenjamin Berkels

Message de Log

- changed the version string to 3.0.1
- kept network compatibility with 3.0

Change Summary

Modification

diff -r 6abf0a95b021 -r 10af1739daa3 src/cl_main.cpp
--- a/src/cl_main.cpp Tue Sep 24 07:29:26 2019 +0100
+++ b/src/cl_main.cpp Sun Oct 13 21:38:53 2019 +0200
@@ -818,7 +818,9 @@
818818
819819 // Send connection signal to the server.
820820 NETWORK_WriteByte( &g_LocalBuffer.ByteStream, CLCC_ATTEMPTCONNECTION );
821- NETWORK_WriteString( &g_LocalBuffer.ByteStream, DOTVERSIONSTR );
821+ //NETWORK_WriteString( &g_LocalBuffer.ByteStream, DOTVERSIONSTR );
822+ // [BB] Stay network compatible with 3.0.
823+ NETWORK_WriteString( &g_LocalBuffer.ByteStream, "3.0" );
822824 NETWORK_WriteString( &g_LocalBuffer.ByteStream, cl_password );
823825 NETWORK_WriteByte( &g_LocalBuffer.ByteStream, cl_connect_flags );
824826 NETWORK_WriteByte( &g_LocalBuffer.ByteStream, cl_hideaccount );
diff -r 6abf0a95b021 -r 10af1739daa3 src/sv_main.cpp
--- a/src/sv_main.cpp Tue Sep 24 07:29:26 2019 +0100
+++ b/src/sv_main.cpp Sun Oct 13 21:38:53 2019 +0200
@@ -1912,7 +1912,9 @@
19121912
19131913 {
19141914 // Make sure the version matches.
1915- if ( stricmp( clientVersion.GetChars(), DOTVERSIONSTR ) != 0 )
1915+ // if ( stricmp( clientVersion.GetChars(), DOTVERSIONSTR ) != 0 )
1916+ // [BB] Stay network compatible with 3.0.
1917+ if ( stricmp( clientVersion.GetChars(), "3.0" ) != 0 )
19161918 {
19171919 SERVER_ClientError( lClient, NETWORK_ERRORCODE_WRONGVERSION );
19181920 #ifdef CREATE_PACKET_LOG
diff -r 6abf0a95b021 -r 10af1739daa3 src/version.h
--- a/src/version.h Tue Sep 24 07:29:26 2019 +0100
+++ b/src/version.h Sun Oct 13 21:38:53 2019 +0200
@@ -46,7 +46,7 @@
4646
4747 #define GAME_MAJOR_VERSION 3
4848 #define GAME_MINOR_VERSION 0
49-#define GAMEVER_STRING "3.0"
49+#define GAMEVER_STRING "3.0.1"
5050 #define DOTVERSIONSTR GAMEVER_STRING
5151 #define VERSIONSTR DOTVERSIONSTR
5252
@@ -80,7 +80,9 @@
8080 // [BB] Use the revision number to automatically make builds from
8181 // different revisions incompatible. Skulltag only uses one byte
8282 // to transfer NETGAMEVERSION, so we need to limit its value to [0,255].
83-#define NETGAMEVERSION (GetRevisionNumber() % 256)
83+//#define NETGAMEVERSION (GetRevisionNumber() % 256)
84+// [BB] Stay network compatible with 3.0.
85+#define NETGAMEVERSION (1504266050 % 256)
8486
8587 // Version stored in the ini's [LastRun] section.
8688 // Bump it if you made some configuration change that you want to