1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-29 19:36:43 +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 // enable collision
//if (!mPhysics->toggleCollisionMode()) if (!mPhysics->toggleCollisionMode())
// mPhysics->toggleCollisionMode(); mPhysics->toggleCollisionMode();
// we don't want old weather to persist on a new game // we don't want old weather to persist on a new game
delete mWeatherManager; delete mWeatherManager;
@ -972,7 +972,7 @@ namespace MWWorld
void World::changeToInteriorCell (const std::string& cellName, const ESM::Position& position) void World::changeToInteriorCell (const std::string& cellName, const ESM::Position& position)
{ {
//mPhysics->clearQueuedMovement(); mPhysics->clearQueuedMovement();
if (mCurrentWorldSpace != cellName) if (mCurrentWorldSpace != cellName)
{ {
@ -992,7 +992,7 @@ namespace MWWorld
void World::changeToExteriorCell (const ESM::Position& position) void World::changeToExteriorCell (const ESM::Position& position)
{ {
//mPhysics->clearQueuedMovement(); mPhysics->clearQueuedMovement();
if (mCurrentWorldSpace != "sys::default") // FIXME if (mCurrentWorldSpace != "sys::default") // FIXME
{ {