Bugfix: saved game engine runtimes failed to load library .blend
[blender.git] / source / blender / readblenfile / intern / BLO_readblenfile.c
index 6e5bf149c7a12748a826cebf3ae7210c32b5b2fa..ec71611b31d2aeadc0886c1996ae94663b4f5dad 100644 (file)
@@ -159,7 +159,7 @@ blo_read_runtime(
        } else {        
                //printf("starting to read runtime from %s at datastart %d\n", path, datastart);
                lseek(fd, datastart, SEEK_SET);
-               bfd = blo_read_blendafterruntime(fd, actualsize-datastart, error_r);
+               bfd = blo_read_blendafterruntime(fd, path, actualsize-datastart, error_r);
                fd= -1; // file was closed in blo_read_blendafterruntime()
        }