From affde05dc07a94643f1fd2751b2b441f57f73d7d Mon Sep 17 00:00:00 2001 From: xolatile Date: Tue, 5 Aug 2025 17:04:48 +0200 Subject: Minor cleanups, just compiles... --- src/engine/texture.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/engine/texture.cpp') diff --git a/src/engine/texture.cpp b/src/engine/texture.cpp index 77eac65..7f391a9 100644 --- a/src/engine/texture.cpp +++ b/src/engine/texture.cpp @@ -2040,7 +2040,6 @@ int findslottex(const char *name) void texture(char *type, char *name, int *rot, int *xoffset, int *yoffset, float *scale) { if(slots.length()>=0x10000) return; - static int lastmatslot = -1; int tnum = findslottex(type); if(tnum<0) tnum = atoi(type); Slot &s = *(tnum!=TEX_DIFFUSE ? slots.last() : slots.add(new Slot(slots.length()))); -- cgit v1.2.3