- fixed: for unpositioned sounds the play position was never initialized and depended on random memory contents.

This commit is contained in:
Christoph Oelckers 2017-02-08 23:29:52 +01:00
parent 36a07b8e6e
commit 4e685f2b78
2 changed files with 1 additions and 1 deletions

View File

@ -657,7 +657,6 @@ IMPLEMENT_CLASS(APlayerPawn, false, true)
IMPLEMENT_POINTERS_START(APlayerPawn)
IMPLEMENT_POINTER(InvFirst)
IMPLEMENT_POINTER(InvSel)
IMPLEMENT_POINTER(FlechetteType)
IMPLEMENT_POINTERS_END
void APlayerPawn::Serialize(FSerializer &arc)

View File

@ -711,6 +711,7 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector,
{
case SOURCE_None:
default:
pos->Zero();
break;
case SOURCE_Actor: