diff options
| author | fig02 <fig02srl@gmail.com> | 2021-01-08 07:27:18 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-08 07:27:18 -0500 |
| commit | 6a97e0479b7b7ee3aa979303d76c4381d3efc813 (patch) | |
| tree | 56e3f7e4e0f8bc679545edb7cc596c5830718892 /ZAPD/ZSkeleton.cpp | |
| parent | ae3d5b9e51ff3645aa494154cc8f7a3c1bf8c354 (diff) | |
Replace RoomPoly with CollisionPoly (#66)
* small changes
* brackets
Diffstat (limited to 'ZAPD/ZSkeleton.cpp')
| -rw-r--r-- | ZAPD/ZSkeleton.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ZAPD/ZSkeleton.cpp b/ZAPD/ZSkeleton.cpp index 3666b73..d6234d8 100644 --- a/ZAPD/ZSkeleton.cpp +++ b/ZAPD/ZSkeleton.cpp @@ -224,10 +224,12 @@ std::string ZSkeleton::GetSourceOutputCode(const std::string& prefix) //string decl = StringHelper::Sprintf(" &_%sLimb_%04X,\n", prefix.c_str(), limb->address); string decl = ""; - if (parent->HasDeclaration(limb->address)) + if (parent->HasDeclaration(limb->address)) { decl = StringHelper::Sprintf(" &%s,", parent->GetDeclarationName(limb->address).c_str()); - if (i != (limbs.size() - 1)) + if (i != (limbs.size() - 1)) { decl += "\n"; + } + } tblStr += decl; } |
