Fix for period (.) screwing up Identifiers ($name, etc)
Yes, you could say that I'm on a bug hunt today. My goal, to kill all those little nitpicky bugs in the quest system that aggrevate me. :evil:
I'm a bit scared of this fix because of how simple it is. I can't find anything that it breaks, but perhaps some one else should eye this one closely. :? The Problem: When creating .qst files, putting a period (.) after an identifier will cause the quest to print NULL rather than the value of the identifier. For example this script will say NULL rather than your $name: Quote:
Change line 1 of basic_functions.h from: Code:
const char *notin = "() ,=!&|<>\""; Code:
const char *notin = "?.() ,=!&|<>\""; Regards, Krich |
Updated code above to include a Question Mark.
Enjoy, Krich |
Merged this in to CVS, should be available there now. Please certify.
|
Quote:
Regards, krich |
All times are GMT -4. The time now is 08:44 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.