mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-11 07:12:16 +00:00
- Version bump to 2.1.5.
- Fixed: P_LoadSegs() checked for invalid vertices too late. SVN r320 (trunk)
This commit is contained in:
parent
da32156d41
commit
05265c3213
3 changed files with 17 additions and 13 deletions
|
@ -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
|
||||
- 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.
|
||||
|
|
|
@ -816,8 +816,16 @@ void P_LoadSegs (MapData * map)
|
|||
int side, linedef;
|
||||
line_t *ldef;
|
||||
|
||||
li->v1 = &vertexes[LittleShort(ml->v1)];
|
||||
li->v2 = &vertexes[LittleShort(ml->v2)];
|
||||
vnum1 = LittleShort(ml->v1);
|
||||
vnum2 = LittleShort(ml->v2);
|
||||
|
||||
if (vnum1 >= numvertexes || vnum2 >= numvertexes)
|
||||
{
|
||||
throw i * 4;
|
||||
}
|
||||
|
||||
li->v1 = &vertexes[vnum1];
|
||||
li->v2 = &vertexes[vnum2];
|
||||
li->PartnerSeg = NULL;
|
||||
|
||||
segangle = (WORD)LittleShort(ml->angle);
|
||||
|
@ -856,14 +864,6 @@ void P_LoadSegs (MapData * map)
|
|||
dis = 0;
|
||||
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)
|
||||
{
|
||||
segangle >>= (ANGLETOFINESHIFT-16);
|
||||
|
|
|
@ -40,13 +40,13 @@
|
|||
|
||||
/** Lots of different version numbers **/
|
||||
|
||||
#define DOTVERSIONSTR_NOREV "2.1.4"
|
||||
#define DOTVERSIONSTR_NOREV "2.1.5"
|
||||
|
||||
// The version string the user actually sees.
|
||||
#define DOTVERSIONSTR DOTVERSIONSTR_NOREV " (r" SVN_REVISION_STRING ")"
|
||||
|
||||
// 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_FILEVERSION2 DOTVERSIONSTR
|
||||
#define RC_PRODUCTVERSION2 "2.1"
|
||||
|
@ -89,7 +89,7 @@
|
|||
#endif
|
||||
|
||||
// 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.
|
||||
#define SAVESTRINGSIZE 24
|
||||
|
|
Loading…
Reference in a new issue