OpenTTD / nml

NewGRF Meta Language
GNU General Public License v2.0
44 stars 36 forks source link

Add: Basic range check for replace() #324

Closed glx22 closed 1 month ago

glx22 commented 8 months ago

replace() can only be used for TTD sprites (0-4895), or with return value of reserve_sprites().