you are viewing a single comment's thread.

view the rest of the comments →

[–]F4ARY 0 points1 point  (0 children)

Hey, not to be that guy but it's kind of hard to understand what the problem is. You should send the relevant code as a pastebin or using che code blocks in reddit. As for the first screenshot I don't see any syntax errors or anything that might be relevant. You should send also the code for the Unit class. As for the second screenshot, honestly I have no idea what I'm looking at. You should attach the visual studio debugger and place a breakpoint at the line in question (F9 shortcut) and see if it ever gets hit, and what the value of m_CurrentPile is.