From d5a2fb931787a33af96914b18d7e02d39fa0c16d Mon Sep 17 00:00:00 2001 From: TehRealSalt Date: Mon, 4 Jun 2018 22:56:58 -0400 Subject: [PATCH] Disable weather in netgames Some people like to lag up the whole server by enabling precip, so y'know what, just turn it off in netgames. Weather can just stay a Record Attack/splitscreen only feature now I guess --- src/p_mobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index a77b97b7..479c8f99 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -9169,7 +9169,8 @@ void P_SpawnPrecipitation(void) subsector_t *precipsector = NULL; precipmobj_t *rainmo = NULL; - if (dedicated || !cv_precipdensity.value || curWeather == PRECIP_NONE) + if (dedicated || !cv_precipdensity.value || curWeather == PRECIP_NONE + || netgame) // SRB2Kart return; // Use the blockmap to narrow down our placing patterns