Joe Wells <[EMAIL PROTECTED]> writes: > Kai Antweiler <[EMAIL PROTECTED]> writes: > >>> When you canceled or completed a repair, it would set its previous level >>> from 0 to -1, which would cause the crash. Two lines of code changed ( >>> http://cvs.savannah.nongnu.org/viewcvs/glob2/glob2/src/Building.cpp?sortby=date&r2=1.722&r1=1.721), >>> and its fixed. >> >> Hey! That's was Joe suggested ;) > > Not quite. I suggested the same change for two _different_ lines that > used prevLevel. I think those two lines are still buggy. :-(
Thinking about this some more, I think it would be a very good to carefully think about every line that uses prevLevel that has been touched in the last few months. It seems that a bunch of code was written while having in mind a not-quite-right idea of the meaning of prevLevel, so there is a good chance there are other mistakes with prevLevel. -- Joe _______________________________________________ glob2-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/glob2-devel
