1
0
mirror of https://codeberg.org/tenplus1/mobs_redo.git synced 2025-07-01 16:00:23 +02:00

tweak riding functions

This commit is contained in:
tenplus1
2022-04-21 08:28:35 +01:00
parent 0e72f0ca81
commit 7b429df9e9
2 changed files with 5 additions and 5 deletions

View File

@ -28,7 +28,7 @@ local use_cmi = minetest.global_exists("cmi")
mobs = {
mod = "redo",
version = "20220314",
version = "20220421",
intllib = S,
invis = minetest.global_exists("invisibility") and invisibility or {}
}
@ -1054,7 +1054,7 @@ end
-- is mob facing a cliff
function mob_class:is_at_cliff()
if self.fear_height == 0 then -- 0 for no falling protection!
if self.driver or self.fear_height == 0 then -- 0 for no falling protection!
return false
end