mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-20 15:40:32 +00:00
minor changes
This commit is contained in:
parent
06701467ab
commit
60fa69139e
@ -396,7 +396,6 @@ namespace MWBase
|
|||||||
/// It only applies to the current form the NPC is in.
|
/// It only applies to the current form the NPC is in.
|
||||||
virtual void applyWerewolfAcrobatics(const MWWorld::Ptr& actor) = 0;
|
virtual void applyWerewolfAcrobatics(const MWWorld::Ptr& actor) = 0;
|
||||||
|
|
||||||
// Dummy Implementation
|
|
||||||
virtual bool toggleGodMode() = 0;
|
virtual bool toggleGodMode() = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -726,7 +726,8 @@ namespace MWScript
|
|||||||
|
|
||||||
bool enabled = MWBase::Environment::get().getWorld()->toggleGodMode();
|
bool enabled = MWBase::Environment::get().getWorld()->toggleGodMode();
|
||||||
|
|
||||||
context.report (enabled ? "God Mode -> On" : "God Mode -> Off");
|
// context.report (enabled ? "God Mode -> On" : "God Mode -> Off");
|
||||||
|
context.report("Unimplemented");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user