Fix for give sentience.

develop
Warmist 2011-12-27 23:09:53 +02:00
parent bc539672d5
commit 5e34284e5d
2 changed files with 6 additions and 1 deletions

@ -3,6 +3,11 @@ STD_STRING=0
DWORD=1
WORD=2
BYTE=3
function printd(...)
if DEBUG then
print(...)
end
end
function GetTextRegion()
if __TEXT ~=nil then --Chache this, not going to change.
return __TEXT

@ -195,7 +195,7 @@ ptr_CrGloss.castes={off=296,rtype=ptr_vector}
ptr_CrCaste={}
ptr_CrCaste.name={off=0,rtype=ptt_dfstring}
ptr_CrCaste.flags_ptr={off=0x524,rtype=DWORD} --size 17?
ptr_CrCaste.flags_ptr={off=0x5A0,rtype=DWORD} --size 17?
--[=[
Flags:
57 - is sentient (allows setting labours)