]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - wad.c
now shows status messages in join game menu when a server is typed in manually (it...
[xonotic/darkplaces.git] / wad.c
diff --git a/wad.c b/wad.c
index ed96026da875db20a503812baf47af1670480c84..9886fb20f9070d98c0823282807ddbd97df09aa1 100644 (file)
--- a/wad.c
+++ b/wad.c
@@ -209,7 +209,7 @@ qbyte *W_ConvertWAD3Texture(miptex_t *tex)
        qbyte *in, *data, *out, *pal;
        int d, p;
 
-       in = (qbyte *)((int) tex + tex->offsets[0]);
+       in = (qbyte *)tex + tex->offsets[0];
        data = out = Mem_Alloc(tempmempool, tex->width * tex->height * 4);
        if (!data)
                return NULL;