Skip to content

Commit

Permalink
Fixed|Hexen|MP: Client crashes when a plane moves on client side
Browse files Browse the repository at this point in the history
Some client mobjs don't have 'info' if they are only partially synced.

IssueID #1873
  • Loading branch information
skyjake committed Oct 26, 2014
1 parent 323fc71 commit e59a67b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions doomsday/plugins/common/src/p_map.cpp
Expand Up @@ -2644,8 +2644,12 @@ static int PIT_ChangeSector(mobj_t *thing, void *context)
{
pit_changesector_params_t &parm = *static_cast<pit_changesector_params_t *>(context);

DENG_ASSERT(thing->info != 0);

if(!thing->info)
{
// Likely a remote object we don't know enough about.
return false;
}

// Skip mobjs that aren't blocklinked (supposedly immaterial).
if(thing->info->flags & MF_NOBLOCKMAP)
{
Expand Down

0 comments on commit e59a67b

Please sign in to comment.