OpenTTD

Tasklist

FS#5973 - Squirrel scripts will not compile because of free variables feature

Attached to Project: OpenTTD
Opened by Jan Skoch (The_Dude) - Sunday, 06 April 2014, 21:07 GMT
Last edited by Remko Bijker (Rubidium) - Sunday, 25 May 2014, 19:54 GMT
Type Bug
Category Script
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version Version?
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

I discovered a problem with GS compilation.

There is usualy used this for version:
SELF_VERSION <- 1;

I tried changing it to
const SELF_VERSION = 1;

And it caused every script which has the first definition used to not compile and not to be able to be selected.

See attachments for details (log, script and picture).
This task depends upon

Closed by  Remko Bijker (Rubidium)
Sunday, 25 May 2014, 19:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  In r26617

Loading...