- added gravity property to UDMF things. Positive values are multiplied with the class's gravity property, negative values are used as their absolute.

This commit is contained in:
Christoph Oelckers 2013-08-09 16:25:16 +02:00
commit 0a258f95ea
6 changed files with 16 additions and 0 deletions

View file

@ -698,6 +698,7 @@ static int LoadSprites (spritetype *sprites, Xsprite *xsprites, int numsprites,
mapthings[count].SkillFilter = 0xffff;
mapthings[count].flags = MTF_SINGLE|MTF_COOPERATIVE|MTF_DEATHMATCH;
mapthings[count].special = 0;
mapthings[count].gravity = FRACUNIT;
if (xsprites != NULL && sprites[i].lotag == 710)
{ // Blood ambient sound