Protection for negative array index in find_seg_side was accidentially checking for vv1 != -1 - fixed that
This commit is contained in:
parent
c7038983d5
commit
41a3d3971e
|
@ -1,5 +1,9 @@
|
|||
D1X-Rebirth Changelog
|
||||
|
||||
20110121
|
||||
--------
|
||||
main/render.c: Protection for negative array index in find_seg_side was accidentially checking for vv1 != -1 - fixed that
|
||||
|
||||
20110120
|
||||
--------
|
||||
arch/sdl/jukebox.c, main/digi.h, main/menu.c, main/songs.c: Added a simple random function for the Jukebox; Removed one small printf I once added for debugging
|
||||
|
|
|
@ -919,7 +919,7 @@ int find_seg_side(segment *seg,short *verts,int notside)
|
|||
}
|
||||
}
|
||||
|
||||
if (vv0 == -1 || vv1 != -1)
|
||||
if (vv0 == -1 || vv1 == -1)
|
||||
return -1;
|
||||
|
||||
eptr = Edge_to_sides[vv0][vv1];
|
||||
|
|
Loading…
Reference in a new issue