From 141705fe6b88e6ae8afcc379f934cab855de252e Mon Sep 17 00:00:00 2001 From: IntelOrca Date: Sun, 8 Nov 2015 15:14:36 +0000 Subject: [PATCH] disable peep watching thought for multiplayer as its client specific --- src/windows/guest.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/windows/guest.c b/src/windows/guest.c index 5a28c7e974..f52c018e41 100644 --- a/src/windows/guest.c +++ b/src/windows/guest.c @@ -23,6 +23,7 @@ #include "../game.h" #include "../input.h" #include "../management/marketing.h" +#include "../network/network.h" #include "../peep/peep.h" #include "../peep/staff.h" #include "../ride/ride.h" @@ -1083,13 +1084,16 @@ void window_guest_overview_update(rct_window* w){ else w->var_494++; - // Create the "I have the strangest feeling I am being watched thought" - if ((w->var_494 & 0xFFFF) >= 3840){ - if (!(w->var_494 & 0x3FF)){ - int rand = scenario_rand() & 0xFFFF; - if (rand <= 0x2AAA){ - rct_peep* peep = GET_PEEP(w->number); - peep_insert_new_thought(peep, PEEP_THOUGHT_TYPE_WATCHED, 0xFF); + // Disable peep watching thought for multiplayer as its client specific + if (network_get_mode() == NETWORK_MODE_NONE) { + // Create the "I have the strangest feeling I am being watched thought" + if ((w->var_494 & 0xFFFF) >= 3840) { + if (!(w->var_494 & 0x3FF)) { + int random = rand() & 0xFFFF; + if (random <= 0x2AAA) { + rct_peep* peep = GET_PEEP(w->number); + peep_insert_new_thought(peep, PEEP_THOUGHT_TYPE_WATCHED, 0xFF); + } } } }