1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-03 06:19:40 +00:00

Minor cleanup

This commit is contained in:
scrawl 2015-05-23 06:07:11 +02:00
parent 0b042b75cc
commit 0de6839890

View file

@ -267,8 +267,8 @@ namespace MWWorld
}
// enable collision
//if (!mPhysics->toggleCollisionMode())
// mPhysics->toggleCollisionMode();
if (!mPhysics->toggleCollisionMode())
mPhysics->toggleCollisionMode();
// we don't want old weather to persist on a new game
delete mWeatherManager;
@ -972,7 +972,7 @@ namespace MWWorld
void World::changeToInteriorCell (const std::string& cellName, const ESM::Position& position)
{
//mPhysics->clearQueuedMovement();
mPhysics->clearQueuedMovement();
if (mCurrentWorldSpace != cellName)
{
@ -992,7 +992,7 @@ namespace MWWorld
void World::changeToExteriorCell (const ESM::Position& position)
{
//mPhysics->clearQueuedMovement();
mPhysics->clearQueuedMovement();
if (mCurrentWorldSpace != "sys::default") // FIXME
{