mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-27 20:36:50 +00:00
Clear path without check for empty
This commit is contained in:
parent
ca3d0594b3
commit
85bbf9d034
1 changed files with 1 additions and 2 deletions
|
@ -89,7 +89,6 @@ namespace MWMechanics
|
||||||
|
|
||||||
void PathFinder::clearPath()
|
void PathFinder::clearPath()
|
||||||
{
|
{
|
||||||
if(!mPath.empty())
|
|
||||||
mPath.clear();
|
mPath.clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue