Update of /cvsroot/netrek/client/netrekxp/src In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv2257/src Modified Files: input.c Log Message: Changed back to multithreaded from multithread DLL. Was causing error message on closing the netrek.exe DOS window, and don't want to deal with that. Kept the headers and the commented out getpid and perror though. Fix to bug with observers who try to move, where they would unflag their lock flags and not get them back from server. Index: input.c =================================================================== RCS file: /cvsroot/netrek/client/netrekxp/src/input.c,v retrieving revision 1.22 retrieving revision 1.23 diff -u -d -r1.22 -r1.23 --- input.c 25 Feb 2007 14:12:10 -0000 1.22 +++ input.c 26 Feb 2007 07:53:03 -0000 1.23 @@ -3139,9 +3139,14 @@ { unsigned char course; - course = (unsigned char) (getcourse (data->Window, data->x, data->y)); - set_course (course); - me->p_flags &= ~(PFPLOCK | PFPLLOCK); + /* Observers can't move. Also incorrectly removes the lock flag even though + you are still locked */ + if (!(me->p_flags & PFOBSERV)) + { + course = (unsigned char) (getcourse (data->Window, data->x, data->y)); + set_course (course); + me->p_flags &= ~(PFPLOCK | PFPLLOCK); + } } /******************************************************************************/