Ticket #2067: mustang_sink.patch
File mustang_sink.patch, 610 bytes (added by , 11 years ago) |
---|
-
binaries/data/mods/public/simulation/components/UnitMotionFlying.js
73 73 { 74 74 if (this.speed > 0 && this.onGround) 75 75 { 76 if (pos.y <= cmpWaterManager.GetWaterLevel(pos.x, pos.z) && this.template.DiesInWater) 77 this.waterDeath = true; 76 78 this.pitch = 0; 77 79 // Deaccelerate forwards...at a very reduced pace. 78 80 if (this.waterDeath)