mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 20:43:15 +00:00
- Fixed: Decal generator should be taken from the current weapon instance instead of the default instance.
This commit is contained in:
parent
d3aa9c6af1
commit
d37192c1e8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue