mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 22:37:04 +00:00
[10175] Fix incorrectly blocked line of sight in certain locations.
I really should know by now that floats are not infinitely precise...
This commit is contained in:
parent
695f0f1655
commit
00751347e5
4 changed files with 30 additions and 23 deletions
|
|
@ -57,7 +57,7 @@ namespace VMAP
|
|||
std::string iBasePath;
|
||||
|
||||
private:
|
||||
float getIntersectionTime(const G3D::Ray& pRay, float pMaxDist, bool pStopAtFirstHit) const;
|
||||
bool getIntersectionTime(const G3D::Ray& pRay, float &pMaxDist, bool pStopAtFirstHit) const;
|
||||
//bool containsLoadedMapTile(unsigned int pTileIdent) const { return(iLoadedMapTiles.containsKey(pTileIdent)); }
|
||||
public:
|
||||
static std::string getTileFileName(uint32 mapID, uint32 tileX, uint32 tileY);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue