mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 13:01:47 +00:00
- fixed: for unpositioned sounds the play position was never initialized and depended on random memory contents.
This commit is contained in:
parent
36a07b8e6e
commit
4e685f2b78
2 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue