diff options
| author | xolatile | 2025-08-05 17:04:48 +0200 |
|---|---|---|
| committer | xolatile | 2025-08-05 17:04:48 +0200 |
| commit | affde05dc07a94643f1fd2751b2b441f57f73d7d (patch) | |
| tree | 4027d8e3f91490e9cfe6cdb2709343549f047253 /src/engine/texture.cpp | |
| parent | 9234eeb1d2954a3dae6c84ffa8ed8643953272c5 (diff) | |
| download | xolatile-badassbug-affde05dc07a94643f1fd2751b2b441f57f73d7d.tar.xz xolatile-badassbug-affde05dc07a94643f1fd2751b2b441f57f73d7d.tar.zst | |
Minor cleanups, just compiles...
Diffstat (limited to 'src/engine/texture.cpp')
| -rw-r--r-- | src/engine/texture.cpp | 1 |
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()))); |
