zerodownedArchives / runuo-nerun-distro

Automatically exported from code.google.com/p/runuo-nerun-distro
2 stars 1 forks source link

SeaCreatures still spawning over land #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SeaCreatures still spawning over land, and i fixed it.

                if ( m_Water )
                {
                    TileMatrix tiles = Map.Tiles;
                    LandTile _tile = tiles.GetLandTile(x,y);
                    int id = _tile.ID;
                    if((id >= 168 && id <= 171) || id == 100)
                    {
                        return new Point3D( x, y, this.Z );
                    }
                    else
                    {
                        continue; // fixed by lixi
                    }
                }

Original issue reported on code.google.com by RuJie....@gmail.com on 8 May 2012 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by nerunblogs on 14 Sep 2012 at 6:51