(svn r1085) -Fix: [Network] [ 1084834 ] If IF_IN_NETWORK flag was on, an error
authortruelight
Tue, 14 Dec 2004 18:13:02 +0000
changeset 652 0f553238c98a
parent 651 32b229802ed2
child 653 3c902c647791
(svn r1085) -Fix: [Network] [ 1084834 ] If IF_IN_NETWORK flag was on, an error
resulted in infinite money (or assert)
command.c
--- a/command.c	Tue Dec 14 17:38:48 2004 +0000
+++ b/command.c	Tue Dec 14 18:13:02 2004 +0000
@@ -472,7 +472,7 @@
 
 	// If notest is on, it means the result of the test can be different then
 	//   the real command.. so ignore the test
-	if (!notest) {
+	if (!notest && !((cmd & CMD_NO_TEST_IF_IN_NETWORK) && _networking)) {
 		assert(res == res2); // sanity check
 	} else {
 		if ((uint32)res2 >> 16 == 0x8000) {