mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-02-01 02:45:32 +00:00
minor changes
This commit is contained in:
parent
06701467ab
commit
60fa69139e
2 changed files with 2 additions and 2 deletions
|
@ -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…
Reference in a new issue