Fix floating lob items

This commit is contained in:
Sally Cochenour 2019-03-06 01:53:52 -05:00
parent f230e0d644
commit f5fe073627

View file

@ -1406,7 +1406,8 @@ fixed_t P_GetMobjGravity(mobj_t *mo)
case MT_EGGMANITEM: case MT_EGGMANITEM:
case MT_SSMINE: case MT_SSMINE:
case MT_SINK: case MT_SINK:
gravityadd *= mo->extravalue2; if (mo->extravalue2 > 0)
gravityadd *= mo->extravalue2;
/* FALLTHRU */ /* FALLTHRU */
case MT_ORBINAUT: case MT_ORBINAUT:
case MT_JAWZ: case MT_JAWZ: