diff options
author | Nay <dnpd.dd@gmail.com> | 2012-08-30 19:07:59 +0100 |
---|---|---|
committer | Nay <dnpd.dd@gmail.com> | 2012-08-30 19:07:59 +0100 |
commit | 5f1977cb1d690d2e60a1f5355244ec472e014278 (patch) | |
tree | d1f8e9741db0f837fd955e069c6cb63caa08cd58 /src/server/collision/Maps/MapTree.cpp | |
parent | 902d48811ee476e735e5bc0ad61f9948888db82c (diff) |
Core: Fix many "errors"/warnings and coding style (1)
Extractors, worldserver, authserver, shared and collision affected
Errors were found using Cppcheck, open-source static analysis tool
Diffstat (limited to 'src/server/collision/Maps/MapTree.cpp')
-rw-r--r-- | src/server/collision/Maps/MapTree.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/collision/Maps/MapTree.cpp b/src/server/collision/Maps/MapTree.cpp index 6489ddd7a4f..f35e36d92fd 100644 --- a/src/server/collision/Maps/MapTree.cpp +++ b/src/server/collision/Maps/MapTree.cpp @@ -124,8 +124,8 @@ namespace VMAP return intersectionCallBack.result; } - StaticMapTree::StaticMapTree(uint32 mapID, const std::string &basePath): - iMapID(mapID), iTreeValues(0), iBasePath(basePath) + StaticMapTree::StaticMapTree(uint32 mapID, const std::string &basePath) + : iMapID(mapID), iTreeValues(0), iBasePath(basePath), iIsTiled(false) { if (iBasePath.length() > 0 && iBasePath[iBasePath.length()-1] != '/' && iBasePath[iBasePath.length()-1] != '\\') { |