Skip to content

Commit

Permalink
Warn about multiple polyobjs instead of fatal error. This should be p…
Browse files Browse the repository at this point in the history
…laytested to make sure Shannara map02 works correctly.
  • Loading branch information
skyjake committed Aug 7, 2006
1 parent 3e5cd3d commit d5e8228
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doomsday/plugins/jhexen/src/po_man.c
Expand Up @@ -1052,8 +1052,9 @@ static void TranslateToStartSpot(int tag, int originX, int originY)
sub = R_PointInSubsector(avg.x << FRACBITS, avg.y << FRACBITS);
if(P_GetPtrp(sub, DMU_POLYOBJ) != NULL)
{
Con_Error
("PO_TranslateToStartSpot: Multiple polyobjs in a single subsector.\n");
Con_Message("PO_TranslateToStartSpot: Warning: Multiple polyobjs in a single subsector\n"
" (ssec %i, sector %i). Previous polyobj overridden.\n",
P_ToIndex(sub), P_GetIntp(sub, DMU_SECTOR));
}
P_SetPtrp(sub, DMU_POLYOBJ, po);
}
Expand Down

0 comments on commit d5e8228

Please sign in to comment.