SERVER: Don't assume being in a water brush means you're not on the ground

This commit is contained in:
cypress 2023-11-22 16:11:40 -05:00
parent 5333722dec
commit 152ccb40dd

View file

@ -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;