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:
parent
0b042b75cc
commit
0de6839890
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue