… | … | ||
---|---|---|---|
1856 | 1856 | ||
1857 | for (z = 0; z <= 2; z++) | 1857 | for (z = 0; z <= 2; z++) |
1858 | { | 1858 | { |
1859 | tileid t = tile [z]; | 1859 | tileid t = tile [z]; |
1860 | 1860 | ||
1861 | if (t >= self->texs || !self->tex [t].name) | 1861 | if (t >= self->texs || (t && !self->tex [t].name)) |
1862 | { | 1862 | { |
1863 | XPUSHs (sv_2mortal (newSViv (t))); | 1863 | XPUSHs (sv_2mortal (newSViv (t))); |
1864 | need_texid (self, t); | 1864 | need_texid (self, t); |
1865 | } | 1865 | } |
1866 | 1866 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |