compatibility

This variable can be used to emulate the behavior of prior engine versions for compatibility reasons.

Range:

5 - IGNORE_PASSABLE won't ignore passable map entities, V7.1 or earlier.
6 - Don't load sun_color and ambient_color from a level, V7.2 or earlier.
7 - Don't use the primary monitor, but a hypothetical 4:3 monitor as reference for view.aspect, V7.6 or earlier.
8 - default.

Type:

var

Example:

function main()
{
  ...
  compatibilty = 6; // keep sun_color and ambient_color settings
  ...

See also:

version ► latest version online