1
0
Fork 0
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:
Marc Zinnschlag 2014-02-14 08:29:18 +01:00
parent f7ff4fbd51
commit b01c6dad37

View file

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