ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/Deliantra-Client/Client.xs
(Generate patch)

Comparing deliantra/Deliantra-Client/Client.xs (file contents):
Revision 1.174 by root, Fri Apr 6 07:45:34 2007 UTC vs.
Revision 1.175 by root, Fri Apr 6 08:09:42 2007 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines