]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/configscript.cpp
Added Level 8 monsters
[irc/gameservirc.git] / gameserv / configscript.cpp
index bcb08ea2d7664f89c17f0e07b26b24f9665892a8..965e0dd9ffa7744593a1d74789e35a62c1278f77 100644 (file)
@@ -2,6 +2,8 @@
 #include <iostream>
 
 using std::cout;
+using std::cin;
+using std::endl;
 using std::ofstream;
 
 char menu();
@@ -31,9 +33,9 @@ int main()
                outfile << "#define BAHAMUT" << endl;
                break;
            default:
-               break;
+           continue;
        }
-    }while (c != 'Q' && c != 'q' && (int(c) < 48) && (int(c) > 57));
+    }while (c == 'Q' || c == 'q' || (int(c) < 48) || (int(c) > 57));
 
     outfile.close();
 return 0;