mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-27 09:20:51 +00:00
Fixes a crash after killing the boss in Duke 0.99 and fixes the issue with WGR2 SVN being detected as 0.99 due to malformed definelevelname statements
git-svn-id: https://svn.eduke32.com/eduke32@3815 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
06713baf8d
commit
e3dedb19ee
1 changed files with 3 additions and 3 deletions
|
@ -4391,9 +4391,9 @@ static int32_t C_ParseCommand(int32_t loop)
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case CON_ACTIVATE:
|
case CON_ACTIVATE:
|
||||||
*g_scriptPtr = CON_OPERATEACTIVATORS;
|
*(g_scriptPtr-1) = CON_OPERATEACTIVATORS;
|
||||||
C_GetNextValue(LABEL_DEFINE);
|
C_GetNextValue(LABEL_DEFINE);
|
||||||
*g_scriptPtr++ = g_iThisActorID;
|
*g_scriptPtr++ = 0;
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
case CON_DRAGPOINT:
|
case CON_DRAGPOINT:
|
||||||
|
@ -5625,7 +5625,7 @@ repeatcase:
|
||||||
while (*textptr == ' ' || *textptr == '\t') textptr++;
|
while (*textptr == ' ' || *textptr == '\t') textptr++;
|
||||||
|
|
||||||
// cheap hack, 0.99 doesn't have the 3D Realms time
|
// cheap hack, 0.99 doesn't have the 3D Realms time
|
||||||
if (*(textptr+2) == ':')
|
if (*(textptr+2) == ':' && g_scriptVersion == 10)
|
||||||
{
|
{
|
||||||
MapInfo[j *MAXLEVELS+k].designertime =
|
MapInfo[j *MAXLEVELS+k].designertime =
|
||||||
(((*(textptr+0)-'0')*10+(*(textptr+1)-'0'))*REALGAMETICSPERSEC*60)+
|
(((*(textptr+0)-'0')*10+(*(textptr+1)-'0'))*REALGAMETICSPERSEC*60)+
|
||||||
|
|
Loading…
Reference in a new issue