From d37192c1e884f39d61519159df10ef8a1e79a774 Mon Sep 17 00:00:00 2001 From: Player701 Date: Sun, 11 Nov 2018 16:53:37 +0300 Subject: [PATCH] - Fixed: Decal generator should be taken from the current weapon instance instead of the default instance. --- src/p_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_map.cpp b/src/p_map.cpp index 148e1fd18..cea1a33d6 100644 --- a/src/p_map.cpp +++ b/src/p_map.cpp @@ -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 {