Quote from: Crimson Wizard on Fri 11/05/2018 19:39:21
Also, AGS silently creates a number of numeric constants for characters, views, gui and something else, by taking out first letter in their name, for example if you have character cDebug, it will create DEBUG constant, that could also cause this error.
Thanks a lot: That pinpointed the problem.

Also, special thanks to you and to ManicMatt for the ultra fast response time!
