mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-25 03:40:40 +00:00
Revert "allow disable as an alias for getDisabled (in most cases)"
This reverts commit f7ff4fbd51178825a1199ae4b5a5b7cabc765e16.
This commit is contained in:
parent
f7ff4fbd51
commit
b01c6dad37
@ -366,8 +366,7 @@ namespace Compiler
|
|||||||
{
|
{
|
||||||
if (mRefOp && mNextOperand)
|
if (mRefOp && mNextOperand)
|
||||||
{
|
{
|
||||||
if (keyword==Scanner::K_getdisabled ||
|
if (keyword==Scanner::K_getdisabled)
|
||||||
keyword==Scanner::K_disable) /// \todo add option to disable this
|
|
||||||
{
|
{
|
||||||
start();
|
start();
|
||||||
|
|
||||||
@ -510,8 +509,7 @@ namespace Compiler
|
|||||||
mNextOperand = false;
|
mNextOperand = false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (keyword==Scanner::K_getdisabled ||
|
else if (keyword==Scanner::K_getdisabled)
|
||||||
keyword==Scanner::K_disable) /// \todo add option to disable this
|
|
||||||
{
|
{
|
||||||
start();
|
start();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user