LunaCON: make -fbad-getactorvar-use-pli enabled by default. DONT_BUILD.

git-svn-id: https://svn.eduke32.com/eduke32@4962 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2015-02-07 17:29:12 +00:00
parent 952a723229
commit de2a14290f
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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, }