forked from mirror/openmw-tes3mp
Cleaned up code
This commit is contained in:
parent
58b135a2be
commit
b1abef7a38
4 changed files with 3 additions and 4 deletions
apps/openmw
|
@ -867,7 +867,7 @@ namespace MWMechanics
|
|||
}
|
||||
}
|
||||
}
|
||||
if(reported)
|
||||
if (reported)
|
||||
reportCrime(ptr, victim, type, arg);
|
||||
return reported;
|
||||
}
|
||||
|
|
|
@ -822,6 +822,7 @@ namespace MWScript
|
|||
{
|
||||
MWWorld::Ptr player = MWBase::Environment::get().getWorld()->getPlayerPtr();
|
||||
player.getClass().getNpcStats(player).setBounty(0);
|
||||
MWBase::Environment::get().getWorld()->confiscateStolenItems(player);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
@ -41,8 +41,7 @@ namespace MWWorld
|
|||
bool mAutoMove;
|
||||
int mForwardBackward;
|
||||
bool mTeleported;
|
||||
|
||||
std::vector<MWWorld::Ptr> mWitnesses;
|
||||
|
||||
public:
|
||||
|
||||
Player(const ESM::NPC *player, const MWBase::World& world);
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "../mwmechanics/spellcasting.hpp"
|
||||
#include "../mwmechanics/levelledlist.hpp"
|
||||
#include "../mwmechanics/combat.hpp"
|
||||
#include "../mwmechanics/actors.hpp"
|
||||
|
||||
#include "../mwrender/sky.hpp"
|
||||
#include "../mwrender/animation.hpp"
|
||||
|
|
Loading…
Reference in a new issue