]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/imagehl/lbmlib.cpp
apply patch from Martin Gerhardy - more quake2 related modules compiled and misc...
[xonotic/netradiant.git] / plugins / imagehl / lbmlib.cpp
index 066ef39a37c5bc2469e9f661c3c85c4c1fba1fbd..02e3e1008994f0456a7d8229584ed429fea69a79 100644 (file)
@@ -143,7 +143,7 @@ static void LoadIDSP (const char *name, byte ** pic, int *width, int *height)
   //
   // load the file
   //
-  length = vfsLoadFile ((char *) name, (void **) &buffer);
+  length = vfsLoadFile ((char *) name, (void **) &buffer, 0);
   if (length == (unsigned int) -1)
     return;
 
@@ -329,7 +329,7 @@ static void LoadHLW (const char *name, byte ** pic, int *width, int *height)
   //
   // load the file
   //
-  length = vfsLoadFile ((char *) name, (void **) &buffer);
+  length = vfsLoadFile ((char *) name, (void **) &buffer, 0);
   if (length == (unsigned int) -1)
     return;
 
@@ -514,7 +514,7 @@ static void LoadMIP (const char *name, byte ** pic, int *width, int *height)
   //
   // load the file
   //
-  length = vfsLoadFile ((char *) name, (void **) &buffer);
+  length = vfsLoadFile ((char *) name, (void **) &buffer, 0);
   if (length == (unsigned int) -1)
     return;
 
@@ -522,7 +522,7 @@ static void LoadMIP (const char *name, byte ** pic, int *width, int *height)
 
   mipdatasize = GET_MIP_DATA_SIZE(lpMip->width,lpMip->height);
 
-  palettelength = vfsLoadFile ("textures/palette.lmp", (void **) &loadedpalette);
+  palettelength = vfsLoadFile ("textures/palette.lmp", (void **) &loadedpalette, 0);
   if (palettelength == 768)
     palette = loadedpalette;
   else