diff options
| author | Nicholas Estelami <NEstelami@users.noreply.github.com> | 2023-05-04 22:36:23 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-05-04 22:36:23 -0400 |
| commit | ecc25616ec90e14f3ddcf3c703b7a29d6ccf1f95 (patch) | |
| tree | b68d94985389201efa89938523bc536f7950a7dd /ZAPD/ZRoom | |
| parent | 0dbba745dfed52be5cab97257dbf56a2223dd874 (diff) | |
Cleaned up and Documented Declaration Class (#290)
Diffstat (limited to 'ZAPD/ZRoom')
| -rw-r--r-- | ZAPD/ZRoom/Commands/SetMesh.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZRoom/Commands/SetMesh.cpp b/ZAPD/ZRoom/Commands/SetMesh.cpp index 89c8c8c..40e0bdd 100644 --- a/ZAPD/ZRoom/Commands/SetMesh.cpp +++ b/ZAPD/ZRoom/Commands/SetMesh.cpp @@ -151,7 +151,7 @@ void PolygonDlist::GetSourceOutputCode(const std::string& prefix) if (decl == nullptr) DeclareVar(prefix, bodyStr); else - decl->text = bodyStr; + decl->declBody = bodyStr; } std::string PolygonDlist::GetSourceTypeName() const @@ -371,7 +371,7 @@ void PolygonTypeBase::DeclareAndGenerateOutputCode(const std::string& prefix) } else { - decl->text = bodyStr; + decl->declBody = bodyStr; } } |
