mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-27 22:33:17 +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)
|
if (t1->player != NULL && t1->player->ReadyWeapon != NULL)
|
||||||
{
|
{
|
||||||
decalbase = t1->player->ReadyWeapon->GetDefault()->DecalGenerator;
|
decalbase = t1->player->ReadyWeapon->DecalGenerator;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue