ruby: fix Pointer assignment

develop
jj 2012-11-29 10:33:18 +01:00
parent 5ea26d9cae
commit d7f7538d01
1 changed files with 1 additions and 1 deletions

@ -308,7 +308,7 @@ module DFHack
DFHack.memory_write_int32(@_memaddr, v) DFHack.memory_write_int32(@_memaddr, v)
end end
when nil; DFHack.memory_write_int32(@_memaddr, 0) when nil; DFHack.memory_write_int32(@_memaddr, 0)
else _get._set(v) else @_tg._at(_getp)._set(v)
end end
end end