mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2025-10-12 09:22:00 +00:00
additional seahorse/Li spirit form/riding fix.
This patch enables movement after going into spirit form while hugged, and fixes getting off a seahorse if returning near an actual spirit crystal.
This commit is contained in:
parent
47c31660ca
commit
ff195c6b16
2 changed files with 18 additions and 2 deletions
|
@ -571,8 +571,17 @@ function shiftWorlds(me, old, new)
|
|||
entity_setRiding(v.n, 0)
|
||||
cam_toEntity(v.n)
|
||||
elseif new == WT_NORMAL then
|
||||
entity_setRiding(v.n, me)
|
||||
cam_toEntity(me)
|
||||
if entity_isEntityInRange(me, v.n, 64) then
|
||||
entity_setRiding(v.n, me)
|
||||
cam_toEntity(me)
|
||||
else
|
||||
overrideZoom(0)
|
||||
v.riding = false
|
||||
entity_stopAllAnimations(v.n)
|
||||
entity_idle(v.n)
|
||||
entity_setRiding(v.n, 0)
|
||||
entity_setMaxSpeedLerp(me, 1, 1)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue