mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 19:45:40 +00:00
Revert "allow disable as an alias for getDisabled (in most cases)"
This reverts commit f7ff4fbd51
.
This commit is contained in:
parent
f7ff4fbd51
commit
b01c6dad37
1 changed files with 2 additions and 4 deletions
|
@ -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…
Reference in a new issue