diff --git a/src/netcode/d_netfil.c b/src/netcode/d_netfil.c index 03ad8303e..a8a10d475 100644 --- a/src/netcode/d_netfil.c +++ b/src/netcode/d_netfil.c @@ -1640,7 +1640,7 @@ boolean CURLPrepareFile(const char* url, int dfilenum) #endif // 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 login = CURLGetLogin(url, NULL); diff --git a/src/p_mobj.c b/src/p_mobj.c index 0fe850018..ef1910ac1 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -10294,6 +10294,8 @@ void P_MobjThinker(mobj_t *mobj) P_SetTarget(&mobj->hnext, NULL); if (mobj->hprev && P_MobjWasRemoved(mobj->hprev)) P_SetTarget(&mobj->hprev, NULL); + if (mobj->dontdrawforviewmobj && P_MobjWasRemoved(mobj->dontdrawforviewmobj)) + P_SetTarget(&mobj->dontdrawforviewmobj, NULL); mobj->eflags &= ~(MFE_PUSHED|MFE_SPRUNG);