Skip to content

Commit

Permalink
Update Gib death value when changing health
Browse files Browse the repository at this point in the history
so that we are compatible with old DeHackEd files.
  • Loading branch information
jeffdoggett committed Mar 1, 2016
1 parent de63393 commit 4e917b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/dh_stuff.c
Expand Up @@ -1302,7 +1302,7 @@ static void dh_write_to_thing (unsigned int number, unsigned int record, unsigne
{
case 0:ptr -> doomednum = value; break;
case 1:ptr -> spawnstate = value; break;
case 2:ptr -> spawnhealth = value; break;
case 2:ptr -> spawnhealth = value; value = -value; /* Fall through */
case 3:ptr -> gibhealth = value; break;
case 4:ptr -> seestate = value; break;
case 5:ptr -> seesound = value; break;
Expand Down

0 comments on commit 4e917b3

Please sign in to comment.