mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-07 13:20:25 +00:00
Clear path without check for empty
This commit is contained in:
parent
ca3d0594b3
commit
85bbf9d034
@ -89,8 +89,7 @@ namespace MWMechanics
|
|||||||
|
|
||||||
void PathFinder::clearPath()
|
void PathFinder::clearPath()
|
||||||
{
|
{
|
||||||
if(!mPath.empty())
|
mPath.clear();
|
||||||
mPath.clear();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user