- Version bump to 2.1.5.

- Fixed: P_LoadSegs() checked for invalid vertices too late.


SVN r320 (trunk)
This commit is contained in:
Randy Heit 2006-09-01 22:09:03 +00:00
parent da32156d41
commit 05265c3213
3 changed files with 17 additions and 13 deletions

View File

@ -1,3 +1,7 @@
September 1, 2006
- Version bump to 2.1.5.
- Fixed: P_LoadSegs() checked for invalid vertices too late.
August 31, 2006 August 31, 2006
- Changed: Starting a new game or reloading an old one reset the chasecam. - Changed: Starting a new game or reloading an old one reset the chasecam.
- Removed the r: ACS print cast. You can do it yourself with s: and an array. - Removed the r: ACS print cast. You can do it yourself with s: and an array.

View File

@ -816,8 +816,16 @@ void P_LoadSegs (MapData * map)
int side, linedef; int side, linedef;
line_t *ldef; line_t *ldef;
li->v1 = &vertexes[LittleShort(ml->v1)]; vnum1 = LittleShort(ml->v1);
li->v2 = &vertexes[LittleShort(ml->v2)]; vnum2 = LittleShort(ml->v2);
if (vnum1 >= numvertexes || vnum2 >= numvertexes)
{
throw i * 4;
}
li->v1 = &vertexes[vnum1];
li->v2 = &vertexes[vnum2];
li->PartnerSeg = NULL; li->PartnerSeg = NULL;
segangle = (WORD)LittleShort(ml->angle); segangle = (WORD)LittleShort(ml->angle);
@ -856,14 +864,6 @@ void P_LoadSegs (MapData * map)
dis = 0; dis = 0;
delta_angle = (abs(ptp_angle-(segangle<<16))>>ANGLETOFINESHIFT)*360/FINEANGLES; delta_angle = (abs(ptp_angle-(segangle<<16))>>ANGLETOFINESHIFT)*360/FINEANGLES;
vnum1 = li->v1 - vertexes;
vnum2 = li->v2 - vertexes;
if (vnum1 >= numvertexes || vnum2 >= numvertexes)
{
throw i * 4;
}
if (delta_angle != 0) if (delta_angle != 0)
{ {
segangle >>= (ANGLETOFINESHIFT-16); segangle >>= (ANGLETOFINESHIFT-16);

View File

@ -40,13 +40,13 @@
/** Lots of different version numbers **/ /** Lots of different version numbers **/
#define DOTVERSIONSTR_NOREV "2.1.4" #define DOTVERSIONSTR_NOREV "2.1.5"
// The version string the user actually sees. // The version string the user actually sees.
#define DOTVERSIONSTR DOTVERSIONSTR_NOREV " (r" SVN_REVISION_STRING ")" #define DOTVERSIONSTR DOTVERSIONSTR_NOREV " (r" SVN_REVISION_STRING ")"
// The version as seen in the Windows resource // The version as seen in the Windows resource
#define RC_FILEVERSION 2,1,4,SVN_REVISION_NUMBER #define RC_FILEVERSION 2,1,5,SVN_REVISION_NUMBER
#define RC_PRODUCTVERSION 2,1,0,0 #define RC_PRODUCTVERSION 2,1,0,0
#define RC_FILEVERSION2 DOTVERSIONSTR #define RC_FILEVERSION2 DOTVERSIONSTR
#define RC_PRODUCTVERSION2 "2.1" #define RC_PRODUCTVERSION2 "2.1"
@ -89,7 +89,7 @@
#endif #endif
// MINSAVEVER is the minimum level snapshot version that can be loaded. // MINSAVEVER is the minimum level snapshot version that can be loaded.
#define MINSAVEVER 235 // Used by 2.1.2 #define MINSAVEVER 235 // Used by 2.1.5
// The maximum length of one save game description for the menus. // The maximum length of one save game description for the menus.
#define SAVESTRINGSIZE 24 #define SAVESTRINGSIZE 24