diff options
| author | MarkuBu <markus.burrer@gmail.com> | 2017-04-13 13:58:34 +0200 |
|---|---|---|
| committer | paramat <mat.gregory@virginmedia.com> | 2017-04-19 02:01:42 +0100 |
| commit | efd509f796a4870243ce97012aa27940993f4a79 (patch) | |
| tree | e206653a8711a5114c1441d853d3fad9bd0b73e3 /lib/lua/src/lstring.c | |
| parent | 858c72297409ca54092c3c908279d2a05fef58cd (diff) | |
Pointed thing to face pos: Fix crash if opening door with slab or stair
Avoids crash caused when 'pointed thing --- auxiliary functions for the reworked speed restriction system
local function s_lessp(a, b)
if not a or a == -1 then
return false
elseif not b or b == -1 then
return true
else
