KrunkSplein
Newcomer
- Joined
- Oct 4, 2004
- Messages
- 4
I'm trying to teach myself some 2D in D3D basics (with the help of PentiumGuy!) and I've run into a problem for which I have no solution.
The error is so rediculous that I can't even think of a nice way to describe it.
A while loop, for all intents and purposes, is breaking for no reason whatsoever. Even when I specifically tell it not to. While(true) isn't working. There is no break; statement anywhere in the code. I'm a bit lost, and I could use any help I could get.
The source is at http://umsis.miami.edu/~rgallo/Map.cs.
I need me some help.
Thanks in advance,
Krunk
EDIT: Found and fixed the problem. Just needed some fresh eyes. I had gotten the two indices of the two-dimentional array mixed up, and that was causing all sorts of confusion.
The error is so rediculous that I can't even think of a nice way to describe it.
A while loop, for all intents and purposes, is breaking for no reason whatsoever. Even when I specifically tell it not to. While(true) isn't working. There is no break; statement anywhere in the code. I'm a bit lost, and I could use any help I could get.
The source is at http://umsis.miami.edu/~rgallo/Map.cs.
I need me some help.
Thanks in advance,
Krunk
EDIT: Found and fixed the problem. Just needed some fresh eyes. I had gotten the two indices of the two-dimentional array mixed up, and that was causing all sorts of confusion.
Last edited: