Full Version : XmlSpawner2 fix for 2.0
xmlspawner >>Troubleshooting >>XmlSpawner2 fix for 2.0
<< Prev | Next >>
Ashlar- 06-27-2006
I downloaded the beta_20_313.zip but found an error when attempting to compile under a svn revision 62 server.
This is a simple thing, but... wasnt sure if you knew about it.
On line 9229 of the XmlSpawner2.cs found in beta_20_313.zip
Change:
ArrayList tiles = map.GetTilesAt( new Point2D( X, Y ), true, true, true );
to:
List<Tile> tiles = map.GetTilesAt( new Point2D( X, Y ), true, true, true );
Ashlar, beloved of Morrigan
ArteGordon- 06-28-2006

QUOTE (Ashlar @ June 28, 2006 12:15 am)
I downloaded the beta_20_313.zip but found an error when attempting to compile under a svn revision 62 server. This is a simple thing, but... wasnt sure if you knew about it. On line 9229 of the XmlSpawner2.cs found in beta_20_313.zip Change: ArrayList tiles = map.GetTilesAt( new Point2D( X, Y ), true, true, true );
to:
List<Tile> tiles = map.GetTilesAt( new Point2D( X, Y ), true, true, true );
Ashlar, beloved of Morrigan

yes, I will have that conditionally compiled into the next update so that people using either the svn or the RC1 release can compile.