Aces High Bulletin Board

Help and Support Forums => Aces High Bug Reports => Topic started by: AAIK on February 14, 2017, 11:35:18 AM

Title: Cntrl-I "toggled line of text" bug
Post by: AAIK on February 14, 2017, 11:35:18 AM
When you press Cntrl-I it shows up "Toggled line of text" in the middle of the screen.

If you press it repetively it fills up the screen with text.
Title: Re: Cntrl-I "toggled line of text" bug
Post by: hyzer on February 14, 2017, 12:33:40 PM
Sounds like a debug line that got left in the build.  At least he used something descriptive and safe sounding. Not that I would know about anything nsfw messages left in code.   :eek:
Title: Re: Cntrl-I "toggled line of text" bug
Post by: BowHTR on February 14, 2017, 01:53:57 PM
http://bbs.hitechcreations.com/smf/index.php/topic,384986.0.html (http://bbs.hitechcreations.com/smf/index.php/topic,384986.0.html)
Title: Re: Cntrl-I "toggled line of text" bug
Post by: hitech on February 14, 2017, 04:24:13 PM
Sounds like a debug line that got left in the build.  At least he used something descriptive and safe sounding. Not that I would know about anything nsfw messages left in code.   :eek:

I do my damnedest to always force myself to wrapper quick debug test like this just in case I forget to remove them before check in.

#ifdef syscfgDEBUG_COMMANDS
       chatclntAdd2DText("Toggled line of text", 0, 0, 0.5f, stdoGetStdFont(stdoFI_LARGE), grGREEN_RGB, 5000);
#endif

With the syscfgDEBUG_COMMANDS define.

Alas I got lazy and didn't on this one when I was creating the Timed center line system. And of course it bit me.

HiTech
Title: Re: Cntrl-I "toggled line of text" bug
Post by: bustr on February 14, 2017, 04:35:29 PM
I thought you were helping me to know when I pushed the wrong button...... :cry