1
0
Fork 0
forked from fte/fteqw

Skip .lmp to allow loading external images. (#230)

This commit is contained in:
Daniel Svensson 2023-11-16 19:04:27 +01:00 committed by GitHub
parent eb6b127d9c
commit 1c201c0321
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -233,7 +233,7 @@ mpic_t *Draw_CachePicSafe(const char *name, qbool crash, qbool ignorewad)
mpic_t *Draw_CacheWadPic(const char *name)
{
char ftename[MAX_QPATH];
Q_snprintf(ftename, sizeof(ftename), "gfx/%s.lmp", name);
Q_snprintf(ftename, sizeof(ftename), "gfx/%s", name);
return (mpic_t*)(qintptr_t)drawfuncs->LoadImage(ftename);
}