KrunkSplein
New member
- Joined
- Oct 4, 2004
- Messages
- 4
Im trying to teach myself some 2D in D3D basics (with the help of PentiumGuy!) and Ive run into a problem for which I have no solution.
The error is so rediculous that I cant 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) isnt working. There is no break; statement anywhere in the code. Im 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 cant 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) isnt working. There is no break; statement anywhere in the code. Im 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 by a moderator: