diff options
author | sucofog <4pdcvicente@gmail.com> | 2017-11-14 15:14:43 +0100 |
---|---|---|
committer | Yehonal <yehonal.azeroth@gmail.com> | 2017-11-14 15:14:43 +0100 |
commit | e772b08c6808bae29db96ed2f51ee5b34d768da4 (patch) | |
tree | 7b85a379832ca68ba3d2a0d18e6e16e8caa7a179 /src/scripts/Commands/cs_lookup.cpp | |
parent | d98ba9cdaa849b9af0fd701ea487f1d3127f07ef (diff) |
Update Vmaps | Mmaps | Recastnav and fixed FleeingMovement
- Fixes getHeight collision (Map height is now calculated properly core-side, extraction of Maps, Vmaps is required)
- Fixes invisible walls causing LoS errores and wrong pathing in some zones.
- Mmaps update, padding is used, now to ensure proper binary-identical mmtiles
- Updated Recastnav to work properly with new updates
- Updated Area Storage
- Implement Map out of Bound (players will pop on closest graveyard if out of bounds)
- FleeingMovementGenerator updated, LoS calc to not go out of bounds or in/under textured when
fleeing
- Added command .mmap, port from TC (info about mmaps)
Diffstat (limited to 'src/scripts/Commands/cs_lookup.cpp')
-rw-r--r-- | src/scripts/Commands/cs_lookup.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/Commands/cs_lookup.cpp b/src/scripts/Commands/cs_lookup.cpp index d81ce581da..60f5ce165c 100644 --- a/src/scripts/Commands/cs_lookup.cpp +++ b/src/scripts/Commands/cs_lookup.cpp @@ -86,9 +86,9 @@ public: wstrToLower(wNamePart); // Search in AreaTable.dbc - for (uint32 areaflag = 0; areaflag < sAreaStore.GetNumRows(); ++areaflag) + for (uint32 i = 0; i < sAreaTableStore.GetNumRows(); ++i) { - AreaTableEntry const* areaEntry = sAreaStore.LookupEntry(areaflag); + AreaTableEntry const* areaEntry = sAreaTableStore.LookupEntry(i); if (areaEntry) { int locale = handler->GetSessionDbcLocale(); |