TerminusEst13 / cyberrunner

No longer being worked on.
0 stars 0 forks source link

Strings in commonFuncs.h do not actually get added to the string table #29

Closed IjonTichy closed 11 years ago

IjonTichy commented 11 years ago

As evidenced by befdb5589af19be3347f51602731363230924215, and the attached screenshot, something with commonFuncs.h is causing strings within it to break horribly. When editing the isLMS function to say this:

function int isLMS(void)
{
    Print(s:"lastmanstanding: ", d:GetCVar("lastmanstanding"),
        s:"\nteamlms: ", d:GetCVar("teamlms"));
    return GetCVar("lastmanstanding") || GetCVar("teamlms");
}

The below screenshot should say something to the effect of:

lastmanstanding: 0
teamlms: 0

Instead... yeah.

stringsbroke

You can see why this would always return 0.