mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-16 16:41:46 +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_POINTERS_START(APlayerPawn)
|
||||||
IMPLEMENT_POINTER(InvFirst)
|
IMPLEMENT_POINTER(InvFirst)
|
||||||
IMPLEMENT_POINTER(InvSel)
|
IMPLEMENT_POINTER(InvSel)
|
||||||
IMPLEMENT_POINTER(FlechetteType)
|
|
||||||
IMPLEMENT_POINTERS_END
|
IMPLEMENT_POINTERS_END
|
||||||
|
|
||||||
void APlayerPawn::Serialize(FSerializer &arc)
|
void APlayerPawn::Serialize(FSerializer &arc)
|
||||||
|
|
|
@ -711,6 +711,7 @@ static void CalcPosVel(int type, const AActor *actor, const sector_t *sector,
|
||||||
{
|
{
|
||||||
case SOURCE_None:
|
case SOURCE_None:
|
||||||
default:
|
default:
|
||||||
|
pos->Zero();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SOURCE_Actor:
|
case SOURCE_Actor:
|
||||||
|
|
Loading…
Reference in a new issue