d'oh, forgot to remove the == 0

This commit is contained in:
Bill Currie 2001-01-19 04:00:02 +00:00
parent 186bec3342
commit e365e174a7
4 changed files with 14 additions and 1 deletions

View file

@ -35,6 +35,7 @@
#include "protocol.h" #include "protocol.h"
#include "skin.h" #include "skin.h"
#include "sys.h" #include "sys.h"
#include "texture.h"
byte player_8bit_texels[320 * 200]; byte player_8bit_texels[320 * 200];
static byte translate[256]; static byte translate[256];
@ -191,3 +192,8 @@ Skin_Init_Translation (void)
translate32[i] = d_8to24table[i]; translate32[i] = d_8to24table[i];
} }
} }
void
Skin_Process (skin_t *skin, tex_t *tex)
{
}

View file

@ -1055,7 +1055,7 @@ COM_Filesystem_Init (void)
COM_CreateGameDirectory (fs_basegame->string); COM_CreateGameDirectory (fs_basegame->string);
// If we're dealing with id1, use qw too // If we're dealing with id1, use qw too
if (!strequal (fs_basegame->string, fs_skinbase->string) == 0) { if (!strequal (fs_basegame->string, fs_skinbase->string)) {
COM_CreateGameDirectory (fs_skinbase->string); COM_CreateGameDirectory (fs_skinbase->string);
} }

View file

@ -167,6 +167,8 @@ Skin_Cache (skin_t *skin)
memcpy (out, tex->data, tex->width * tex->height); memcpy (out, tex->data, tex->width * tex->height);
Skin_Process (skin, tex);
skin->failedload = false; skin->failedload = false;
return out; return out;

View file

@ -81,3 +81,8 @@ void
Skin_Init_Translation (void) Skin_Init_Translation (void)
{ {
} }
void
Skin_Process (skin_t *skin, struct tex_s *)
{
}