- made adjustments to text input menu to work with scripts.

This commit is contained in:
Christoph Oelckers 2017-02-12 21:45:37 +01:00
commit b6ad14a614
14 changed files with 107 additions and 81 deletions

View file

@ -2598,7 +2598,7 @@ void ZCCCompiler::CompileStates()
statename << FName(part->Id) << '.';
part = static_cast<decltype(part)>(part->SiblingNext);
} while (part != sg->Label);
statename.Truncate((long)statename.Len() - 1); // remove the last '.' in the label name
statename.Truncate(statename.Len() - 1); // remove the last '.' in the label name
if (sg->Offset != nullptr)
{
int offset = IntConstFromNode(sg->Offset, c->Type());