diff --git a/engine/gl/gl_model.c b/engine/gl/gl_model.c index d058a6531..bae9d415e 100644 --- a/engine/gl/gl_model.c +++ b/engine/gl/gl_model.c @@ -3447,7 +3447,7 @@ static void Mod_LoadMiptex(model_t *loadmodel, texture_t *tx, miptex_t *mt, size continue; } else if (extsize <= 16) continue; //too small for an altformat lump - else if (newdata != PTI_INVALID) continue; //only accept the first accepted format (allowing for eg astc+bc1 fallbacks) + else if (newfmt != PTI_INVALID) continue; //only accept the first accepted format (allowing for eg astc+bc1 fallbacks) else if (!strncmp(extfmt, "RGBA", 4)) newfmt = PTI_RGBA8; //32bpp, we don't normally need this alpha precision (padding can be handy though, for the lazy). else if (!strncmp(extfmt, "RGBX", 4)) newfmt = PTI_RGBX8; //32bpp, we don't normally need this alpha precision (padding can be handy though, for the lazy). else if (!strncmp(extfmt, "RGB", 4)) newfmt = PTI_RGB8; //24bpp diff --git a/plugins/irc/ircclient.c b/plugins/irc/ircclient.c index 7aa769892..c475cea61 100644 --- a/plugins/irc/ircclient.c +++ b/plugins/irc/ircclient.c @@ -198,7 +198,7 @@ static qboolean Con_FakeSubPrint(const char *subname, const char *text) typedef struct ircclient_s { struct ircclient_s *next; - char id[16]; //used for console prints, so we can match up consoles and clients. + char id[64]; //used for console prints, so we can match up consoles and clients. char server[64]; int port;