mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-05-30 17:00:48 +00:00
- Updated to ZDoom r744
- fixed: Fog didn't work with Line_Horizon - fixed: Using ExtraFloor_LightOnly in a skybox with non-black fog caused rendering - fixed: Apparently it is possible that AActor::Tick is called after the 3D floor data has been deleted. - fixed: The desaturation shader must first desaturate and then light. It did it in reverse order. - fixed: gl_billboard_mode used an incorrect default value. git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@17 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
cabe6444cd
commit
0394c5d9a4
54 changed files with 963 additions and 471 deletions
|
@ -642,7 +642,7 @@ void D_ReadUserInfoStrings (int i, BYTE **stream, bool update)
|
|||
|
||||
if (compact)
|
||||
{
|
||||
value = D_UnescapeUserInfo(ptr, breakpt - ptr);
|
||||
value = D_UnescapeUserInfo(ptr, breakpt != NULL ? breakpt - ptr : strlen(ptr));
|
||||
infotype++;
|
||||
}
|
||||
else
|
||||
|
@ -676,7 +676,6 @@ void D_ReadUserInfoStrings (int i, BYTE **stream, bool update)
|
|||
infotype = j;
|
||||
}
|
||||
}
|
||||
|
||||
switch (infotype)
|
||||
{
|
||||
case INFO_Autoaim: {
|
||||
|
@ -749,7 +748,7 @@ void D_ReadUserInfoStrings (int i, BYTE **stream, bool update)
|
|||
break;
|
||||
|
||||
case INFO_NeverSwitchOnPickup:
|
||||
if (*value >= '0' && *value <= '9')
|
||||
if (value[0] >= '0' && value[0] <= '9')
|
||||
{
|
||||
info->neverswitch = atoi (value) ? true : false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue