Skip to content

Commit

Permalink
Enable patch to allow multiple instances from the same computer to jo…
Browse files Browse the repository at this point in the history
…in the same network game.
  • Loading branch information
CCHyper committed Nov 9, 2022
1 parent 702bf4b commit 5d02dbf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/vinifera/vinifera_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,6 @@ DECLARE_PATCH(_Do_Lose_Create_Lose_WWMessageBox)
}


#ifndef NDEBUG
/**
* Produces a random serial number for this client.
*
Expand Down Expand Up @@ -699,7 +698,6 @@ static void Decrypt_Serial(char *buffer)

std::strncpy(buffer, _buf, sizeof(_buf));
}
#endif


void Vinifera_Hooks()
Expand Down Expand Up @@ -792,12 +790,10 @@ void Vinifera_Hooks()

Patch_Jump(0x005DCDFD, &_Do_Lose_Create_Lose_WWMessageBox);

#ifndef NDEBUG
/**
* This patch randomises the serial number for this client.
*/
Patch_Jump(0x00576410, &Decrypt_Serial);
#endif

/**
* These two patches changes the last character of the Autorun and Game
Expand Down

0 comments on commit 5d02dbf

Please sign in to comment.