From a704392919d8ae09a89189ac35c043b40766f328 Mon Sep 17 00:00:00 2001 From: Joshua Skelton Date: Mon, 12 Oct 2020 14:43:20 -0700 Subject: [PATCH] Projected decals copy constructor should honor spriteAtlas field (#130) --- .../src/com/interrupt/dungeoneer/entities/ProjectedDecal.java | 1 + 1 file changed, 1 insertion(+) diff --git a/Dungeoneer/src/com/interrupt/dungeoneer/entities/ProjectedDecal.java b/Dungeoneer/src/com/interrupt/dungeoneer/entities/ProjectedDecal.java index e2cca415..bbd3a493 100644 --- a/Dungeoneer/src/com/interrupt/dungeoneer/entities/ProjectedDecal.java +++ b/Dungeoneer/src/com/interrupt/dungeoneer/entities/ProjectedDecal.java @@ -67,6 +67,7 @@ public ProjectedDecal(Camera perspective) { public ProjectedDecal(ProjectedDecal decal) { artType = decal.artType; tex = decal.tex; + spriteAtlas = decal.spriteAtlas; decalWidth = decal.decalWidth; decalHeight = decal.decalHeight; isDynamic = false;