From 152ccb40dd7fc3a5b93e48c2d509514c8bc2fbd5 Mon Sep 17 00:00:00 2001 From: cypress Date: Wed, 22 Nov 2023 16:11:40 -0500 Subject: [PATCH] SERVER: Don't assume being in a water brush means you're not on the ground --- source/server/ai/ai_core.qc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/source/server/ai/ai_core.qc b/source/server/ai/ai_core.qc index df4baf3..27fe392 100644 --- a/source/server/ai/ai_core.qc +++ b/source/server/ai/ai_core.qc @@ -747,8 +747,7 @@ void(float dist) Zombie_Walk = { self.velocity_y = 0; //self.flags = self.flags | FL_PARTIALGROUND; - //check_onfire(); - if (!(self.flags & FL_ONGROUND)) { + if (!(self.flags & FL_ONGROUND) && self.watertype != CONTENT_WATER) { if (!self.droptime) { self.droptime = time + 1;