- Fixed: Decal generator should be taken from the current weapon instance instead of the default instance.

This commit is contained in:
Player701 2018-11-11 16:53:37 +03:00 committed by Christoph Oelckers
parent d3aa9c6af1
commit d37192c1e8

View file

@ -7063,7 +7063,7 @@ void SpawnShootDecal(AActor *t1, const FTraceResults &trace)
if (t1->player != NULL && t1->player->ReadyWeapon != NULL)
{
decalbase = t1->player->ReadyWeapon->GetDefault()->DecalGenerator;
decalbase = t1->player->ReadyWeapon->DecalGenerator;
}
else
{