[NO GBP] Fixes hoverboard being able to be used in space. (#84533)

## About The Pull Request
Apparently I've left out that `isopenspaceturf(A)` returns false on
normal (not multi-z) space turfs because they're of a different path.
This should fix the fact you can use hoverboards as a substitute
jetpacks, which wasn't intended. You can still use them in space if
there's lattice/catwalk underneath, or another kind of turf on the
z-level below however.

## Why It's Good For The Game
Unintended bit from the skateboard buff PR I had made months ago.

## Changelog

🆑
fix: Hoverboards properly dysfunction in space without any kind of
support underneath them.
/🆑
This commit is contained in:
Ghom
2024-07-07 15:18:08 -04:00
committed by GitHub
parent a7f557a431
commit 32aa798d36
7 changed files with 9 additions and 7 deletions
@@ -35,7 +35,7 @@
var/look_for_land = controller.blackboard[BB_CURRENTLY_SWIMMING]
var/list/possible_turfs = list()
for(var/turf/possible_turf in oview(search_range, living_pawn))
if(isclosedturf(possible_turf) || isspaceturf(possible_turf) || isopenspaceturf(possible_turf))
if(isclosedturf(possible_turf) || is_space_or_openspace(possible_turf))
continue
if(possible_turf.is_blocked_turf())
continue