mirror of
https://git.neolegacy.dev/neoStudiosLCE/neoLegacy.git
synced 2026-11-24 05:46:27 +01:00
fix seed 0 using seed 48 internally
This commit is contained in:
1 parent
2a067a6e3b
commit
6ab9609490
2 files changed
+2
-4
No files matched your search
@@ -925,8 +925,7 @@ void CScene_MultiGameCreate::CreateGame(CScene_MultiGameCreate* pClass, DWORD dw
|
||||
if( isNumber )
|
||||
value = _fromString<int64_t>(wSeed);
|
||||
|
||||
//If the value is not 0 use it, otherwise use the algorithm from the java String.hashCode() function to hash it
|
||||
if( value != 0 )
|
||||
if( isNumber )
|
||||
seedValue = value;
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user