mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 04:01:17 +00:00
d'oh, forgot to remove the == 0
This commit is contained in:
parent
186bec3342
commit
e365e174a7
4 changed files with 14 additions and 1 deletions
|
@ -35,6 +35,7 @@
|
|||
#include "protocol.h"
|
||||
#include "skin.h"
|
||||
#include "sys.h"
|
||||
#include "texture.h"
|
||||
|
||||
byte player_8bit_texels[320 * 200];
|
||||
static byte translate[256];
|
||||
|
@ -191,3 +192,8 @@ Skin_Init_Translation (void)
|
|||
translate32[i] = d_8to24table[i];
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
Skin_Process (skin_t *skin, tex_t *tex)
|
||||
{
|
||||
}
|
||||
|
|
|
@ -1055,7 +1055,7 @@ COM_Filesystem_Init (void)
|
|||
COM_CreateGameDirectory (fs_basegame->string);
|
||||
|
||||
// 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);
|
||||
}
|
||||
|
||||
|
|
|
@ -167,6 +167,8 @@ Skin_Cache (skin_t *skin)
|
|||
|
||||
memcpy (out, tex->data, tex->width * tex->height);
|
||||
|
||||
Skin_Process (skin, tex);
|
||||
|
||||
skin->failedload = false;
|
||||
|
||||
return out;
|
||||
|
|
|
@ -81,3 +81,8 @@ void
|
|||
Skin_Init_Translation (void)
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
Skin_Process (skin_t *skin, struct tex_s *)
|
||||
{
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue