SRL Archive - SRL Archives

Symbols.scar fix


lordsaturn

2009-01-27 01:41:47

If you've been getting a strange error when trying to find symbols like so

** Warning in GetSymbolColorIn: fish is not a valid name.**
** Warning in GetSymbolColorIn: tree is not a valid name.**

Change line 655 of Symbols.scar to:

if (BitmapToString(SymbolBitmap) <> '') and (Color <> 0) then

The error was that it was checking if SymbolBitmap <> 0, and sometimes even when a bitmap has been declared, it's integer value is still 0.

EvilChicken!

2009-02-01 05:26:55

Fixed, thankyou.
Line 653, I suppose that was.
(Unless devs symbols.scar greatly differs from public version..)

Either way, nice find. :)

lordsaturn

2009-02-01 14:14:56

From: EvilChicken!
Fixed, thankyou.
Line 653, I suppose that was.
(Unless devs symbols.scar greatly differs from public version..)

Either way, nice find. :)


Yes, I double checked, in the public release it is line 655. Thanks for fixing. :)