mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 19:20:49 +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()
|
||||
{
|
||||
if(!mPath.empty())
|
||||
mPath.clear();
|
||||
mPath.clear();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user