mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-28 22:52:02 +00:00
Skip .lmp to allow loading external images. (#230)
This commit is contained in:
parent
eb6b127d9c
commit
1c201c0321
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ mpic_t *Draw_CachePicSafe(const char *name, qbool crash, qbool ignorewad)
|
||||||
mpic_t *Draw_CacheWadPic(const char *name)
|
mpic_t *Draw_CacheWadPic(const char *name)
|
||||||
{
|
{
|
||||||
char ftename[MAX_QPATH];
|
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);
|
return (mpic_t*)(qintptr_t)drawfuncs->LoadImage(ftename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue