ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/common/image.C
(Generate patch)

Comparing deliantra/server/common/image.C (file contents):
Revision 1.20 by root, Wed Mar 14 00:04:58 2007 UTC vs.
Revision 1.21 by root, Wed Mar 14 04:12:27 2007 UTC

84} 84}
85 85
86faceinfo * 86faceinfo *
87face_info (faceidx idx) 87face_info (faceidx idx)
88{ 88{
89 assert (0 < (faceidx)-1); // faceidx must be unsigned
90
89 if (idx >= faces.size ()) 91 if (idx >= faces.size ())
90 return 0; 92 return 0;
91 93
92 return &faces [idx]; 94 return &faces [idx];
93} 95}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines