Removed LEECH and UFO sections, as I'm not sure if I'll implement them
1 files changed, 0 insertions(+), 15 deletions(-)

M result.py
M result.py +0 -15
@@ 49,21 49,6 @@ def get_sections(f, filesize):
         result[key] = int(pointer) - 1
     # Check RST version: is WinPlan data present?
     (result['winplan'], result['extratargets'],) = get_version(f, filesize)
-    if result['winplan']:
-        f.seek(44) # Position of LEECHx.DAT 
-        (result['leech'],) = struct.unpack('< i', f.read(4))
-        if not result['leech']:
-            result['leech'] = None
-        else:
-            result['leech'] = int(result['leech']) - 1
-        (result['ufo'],) = struct.unpack('< i', f.read(4))
-        if not result['ufo']:
-            result['ufo'] = None
-        else:
-            result['ufo'] = int(result['ufo']) - 1
-    else:
-        result['leech'] = None
-        result['ufo'] = None
     # Check if pointers are valid
     for pointer in result.values():
         if pointer is not None and not valid_pointer(pointer, filesize, 2):