Lunatic: in engine.savePaletteDat(), open file in binary mode. BUILD_LUNATIC.

git-svn-id: https://svn.eduke32.com/eduke32@4331 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2014-02-13 15:39:28 +00:00
parent 38d939372d
commit 00a6a058ef

View file

@ -297,7 +297,7 @@ if (ismapster32) then
local blendnumtab, blendptrtab = validate_more_blendtabs(moreblends) local blendnumtab, blendptrtab = validate_more_blendtabs(moreblends)
local f, errmsg = io.open(filename, "w+") local f, errmsg = io.open(filename, "wb+")
if (f == nil) then if (f == nil) then
return nil, errmsg return nil, errmsg
end end