]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - plugins/imagem8/m32.cpp
apply patch from Martin Gerhardy - more quake2 related modules compiled and misc...
[xonotic/netradiant.git] / plugins / imagem8 / m32.cpp
index b5a1fe93494225829ae026ff4baa130994cd01d5..5bbe616ed57f4dc1a6db13cb32f25b4e34f5c3f2 100644 (file)
@@ -36,7 +36,7 @@ void LoadM32(const char *name, unsigned char **pic, int *width, int *height)
     unsigned char       *buffer, *m32_file_buffer;
 
     // open file
-    if ( length = vfsLoadFile ((char *) name, (void **) &m32_file_buffer) == (unsigned int) -1)
+    if ( length = vfsLoadFile ((char *) name, (void **) &m32_file_buffer, 0) == (unsigned int) -1)
     {
        Sys_Printf("Unable to open file %s\n",name);
        return;