diff --git a/polymer/eduke32/source/lunatic/doc/lunacon.txt b/polymer/eduke32/source/lunatic/doc/lunacon.txt index 1373e9bb4..e5db65e01 100644 --- a/polymer/eduke32/source/lunatic/doc/lunacon.txt +++ b/polymer/eduke32/source/lunatic/doc/lunacon.txt @@ -196,7 +196,7 @@ to positive ones and may entail undesired behavior. NOTE: From CON as well as Lunatic, `hitag` and `lotag` are seen as *signed* 16-bit integers. -`-fbad-getactorvar-use-pli` (default: off):: +`-fbad-getactorvar-use-pli` (default: on):: If enabled and `-Werror-bad-getactorvar` is off, a `getactorvar` of a per-player variable will result the gamevar being indexed with the current player instead of the provided index. This is the (probably unintended) diff --git a/polymer/eduke32/source/lunatic/lunacon.lua b/polymer/eduke32/source/lunatic/lunacon.lua index 027a9a966..655c1516c 100644 --- a/polymer/eduke32/source/lunatic/lunacon.lua +++ b/polymer/eduke32/source/lunatic/lunacon.lua @@ -126,7 +126,7 @@ local g_warn = { ["not-redefined"]=true, ["bad-identifier"]=false, local g_cgopt = { ["no"]=false, ["debug-lineinfo"]=false, ["gendir"]=nil, ["cache-sap"]=false, ["error-nostate"]=true, ["playervar"]=true, ["trapv"]=false, ["wrapv"]=false, - ["bad-getactorvar-use-pli"]=false, + ["bad-getactorvar-use-pli"]=true, ["error-nonlocal-userdef"]=true, ["error-negative-tag-write"]=false, }