mirror of
https://forgejo.xatacraft.ru/Sunshine/mkxp-sunshine.git
synced 2026-08-21 14:29:55 +00:00
glen crash fix
This commit is contained in:
parent
eec30c4786
commit
a5b885f359
1 changed files with 1 additions and 1 deletions
|
|
@ -264,7 +264,7 @@ class Game_Character
|
||||||
# If character
|
# If character
|
||||||
else
|
else
|
||||||
# If height exceeds 32, then add 31
|
# If height exceeds 32, then add 31
|
||||||
return z + ((height > 32) ? 31 : 0)
|
return z + (((height || 0) > 32) ? 31 : 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
#--------------------------------------------------------------------------
|
#--------------------------------------------------------------------------
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue