Error when changing to new terrain mask

The place to post your WML questions and answers.

Moderator: Forum Moderators

Forum rules
  • Please use [code] BBCode tags in your posts for embedding WML snippets.
  • To keep your code readable so that others can easily help you, make sure to indent it following our conventions.
Post Reply
User avatar
tommy2teeth
Posts: 46
Joined: February 28th, 2015, 8:30 pm

Error when changing to new terrain mask

Post by tommy2teeth »

I'm really at a lost here. I got this error today in a scenario I created today for ver 1.12.5: "Condition 'str.size() <= 4' failed at src\terrain_translatetion.cpp:713 in function 'string_to_layer'".

I cannot find anywhere in my masks where there are strings greater than 4 characters. The terrain I used is all default, I did not even use shift to stack terrains. All eight of my masks say the same thing when they are picked (masks are chosen at random).

Does anyone know what the error means?
User avatar
Ravana
Forum Moderator
Posts: 3004
Joined: January 29th, 2012, 12:49 am
Location: Estonia
Contact:

Re: Error when changing to new terrain mask

Post by Ravana »

I have encountered this one when list of terrains was missing a comma. https://github.com/ProditorMagnus/Agele ... 9329507720
Post Reply