View Single Post
  #2  
Old 06-11-2002, 12:54 PM
theCoder
Sarnak
 
Join Date: Jan 2002
Posts: 90
Default

I can't tell exactly what's going on here, but could it be that GetOldCoords has a return before the SetOldCoords call? Should it be instead:
Code:
int     GetOldCoords() { SetOldCoords(0,0); return oldcoords; }
Usually the compiler complains if you put statements after a return, though, so I'm probably missing something...
Reply With Quote