mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-19 16:01:35 +00:00
Merge branch 'issue1150' of https://git.do.srb2.org/SSNTails/SRB2 into issue1150
This commit is contained in:
commit
d3d210b3ca
2 changed files with 3 additions and 1 deletions
|
@ -1640,7 +1640,7 @@ boolean CURLPrepareFile(const char* url, int dfilenum)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Set user agent, as some servers won't accept invalid user agents.
|
// Set user agent, as some servers won't accept invalid user agents.
|
||||||
curl_easy_setopt(http_handle, CURLOPT_USERAGENT, va("Sonic Robo Blast 2/v%d.%d", VERSION, SUBVERSION));
|
curl_easy_setopt(http_handle, CURLOPT_USERAGENT, va("Sonic Robo Blast 2/%s", VERSIONSTRING));
|
||||||
|
|
||||||
// Authenticate if the user so wishes
|
// Authenticate if the user so wishes
|
||||||
login = CURLGetLogin(url, NULL);
|
login = CURLGetLogin(url, NULL);
|
||||||
|
|
|
@ -10294,6 +10294,8 @@ void P_MobjThinker(mobj_t *mobj)
|
||||||
P_SetTarget(&mobj->hnext, NULL);
|
P_SetTarget(&mobj->hnext, NULL);
|
||||||
if (mobj->hprev && P_MobjWasRemoved(mobj->hprev))
|
if (mobj->hprev && P_MobjWasRemoved(mobj->hprev))
|
||||||
P_SetTarget(&mobj->hprev, NULL);
|
P_SetTarget(&mobj->hprev, NULL);
|
||||||
|
if (mobj->dontdrawforviewmobj && P_MobjWasRemoved(mobj->dontdrawforviewmobj))
|
||||||
|
P_SetTarget(&mobj->dontdrawforviewmobj, NULL);
|
||||||
|
|
||||||
mobj->eflags &= ~(MFE_PUSHED|MFE_SPRUNG);
|
mobj->eflags &= ~(MFE_PUSHED|MFE_SPRUNG);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue