mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 19:15:41 +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 (keyword==Scanner::K_getdisabled ||
|
||||
keyword==Scanner::K_disable) /// \todo add option to disable this
|
||||
if (keyword==Scanner::K_getdisabled)
|
||||
{
|
||||
start();
|
||||
|
||||
|
@ -510,8 +509,7 @@ namespace Compiler
|
|||
mNextOperand = false;
|
||||
return true;
|
||||
}
|
||||
else if (keyword==Scanner::K_getdisabled ||
|
||||
keyword==Scanner::K_disable) /// \todo add option to disable this
|
||||
else if (keyword==Scanner::K_getdisabled)
|
||||
{
|
||||
start();
|
||||
|
||||
|
|
Loading…
Reference in a new issue