mirror of
https://github.com/minetest-mods/MoreMesecons.git
synced 2025-01-06 12:47:32 +01:00
fix error when adding if
This commit is contained in:
parent
9fcb45d9f2
commit
d3c97f950f
2
md5.lua
2
md5.lua
@ -193,6 +193,7 @@ else
|
|||||||
return bit_and(n, 0xFFFFFFFF)
|
return bit_and(n, 0xFFFFFFFF)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
-- convert little-endian 32-bit int to a 4-char string
|
-- convert little-endian 32-bit int to a 4-char string
|
||||||
local function lei2str(i)
|
local function lei2str(i)
|
||||||
@ -208,7 +209,6 @@ else
|
|||||||
end
|
end
|
||||||
return v
|
return v
|
||||||
end
|
end
|
||||||
end
|
|
||||||
|
|
||||||
-- convert raw string to little-endian int
|
-- convert raw string to little-endian int
|
||||||
local function str2lei(s)
|
local function str2lei(s)
|
||||||
|
Loading…
Reference in New Issue
Block a user