1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-04 13:42:55 +01:00

Do not include name in peep checksum

This commit is contained in:
Ted John
2019-07-29 20:21:02 +01:00
parent f539fdd79c
commit 85e63cbe3b

View File

@@ -258,6 +258,9 @@ rct_sprite_checksum sprite_checksum()
if (copy.generic.sprite_identifier == SPRITE_IDENTIFIER_PEEP)
{
// Name is pointer and will not be the same across clients
copy.peep.name = {};
// We set this to 0 because as soon the client selects a guest the window will remove the
// invalidation flags causing the sprite checksum to be different than on server, the flag does not affect
// game state.