ruby: fix handling of <pointer to unknown data struct>

develop
jj 2012-07-03 18:40:10 +02:00
parent 1d6160de02
commit 501fd43dda
1 changed files with 1 additions and 0 deletions

@ -277,6 +277,7 @@ module DFHack
def _get def _get
addr = _getp addr = _getp
return if addr == 0 return if addr == 0
return addr if not @_tg
@_tg._at(addr)._get @_tg._at(addr)._get
end end