From 1c201c032176c1df625f45c442e693a4be60190b Mon Sep 17 00:00:00 2001 From: Daniel Svensson Date: Thu, 16 Nov 2023 19:04:27 +0100 Subject: [PATCH] Skip .lmp to allow loading external images. (#230) --- plugins/ezhud/ezquakeisms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/ezhud/ezquakeisms.c b/plugins/ezhud/ezquakeisms.c index 4871cffd7..d3fae9dc7 100644 --- a/plugins/ezhud/ezquakeisms.c +++ b/plugins/ezhud/ezquakeisms.c @@ -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); }