summaryrefslogtreecommitdiff
path: root/src/engine/texture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/texture.cpp')
-rw-r--r--src/engine/texture.cpp1
1 files changed, 0 insertions, 1 deletions
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())));