apply patch from Martin Gerhardy - more quake2 related modules compiled and misc fixes
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@195 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
@@ -40,7 +40,7 @@ void LoadWAL(const char *name, unsigned char **pic, int *width, int *height)
|
||||
unsigned char *buffer, *wal_file_buffer;
|
||||
|
||||
// open file
|
||||
if ( length = vfsLoadFile ((char *) name, (void **) &wal_file_buffer) == (unsigned int) -1)
|
||||
if ( length = vfsLoadFile ((char *) name, (void **) &wal_file_buffer, 0) == (unsigned int) -1)
|
||||
{
|
||||
Sys_Printf("Unable to open file %s\n",name);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user