All pastes #80046 Raw Edit

Miscellany

public text v1 · immutable
·published 2006-07-06 00:16 UTC
rendered paste body
public void AddTile(Tile tile, bool eventCall)
        {
            int x = tile.GetCoord().X;
            int y = tile.GetCoord().Z;

            Console.WriteLine("Before check with " + tile.GetCoord() + " event: " + eventCall);

            if (tile.GetCoord().X == 0 && tile.GetCoord().Z == 0)
            {
                iAdded = 0;
                Console.WriteLine("Reset iAdded to 0, coordinate was " + tile.GetCoord() + " event: " + eventCall);
            }

            System.Windows.Forms.MessageBox.Show(tile.GetCoord().ToString() + " and = " + iAdded.ToString() + " evented: " + eventCall);
            Console.WriteLine("iAdded = " + iAdded + " while " + tile.GetCoord() + " is this event?: " + eventCall);

            if (x == 0)