use boolean type where appropriate
authorMischa POSLAWSKY <netris@shiar.org>
Mon, 5 Mar 2007 09:03:13 +0000 (10:03 +0100)
committerMischa POSLAWSKY <netris@shiar.org>
Mon, 5 Mar 2007 09:03:13 +0000 (10:03 +0100)
client.c

index 7f589c06551434d91179fbc1077021d203ea83e8..98b9542719c67ccc89796eec14e62935ffc7fac3 100644 (file)
--- a/client.c
+++ b/client.c
@@ -325,9 +325,9 @@ void CheckClears(int scr)
 
 void OneGame(void)
 {
-       int changed = 0;
+       bool changed = 0;
        short gameStatus = 2; //2=loop; 1=new piece; 0=quit
-       int chatMode = 0;
+       bool chatMode = 0;
        char chatText[MSG_WIDTH] = "\0";
 
        void handle_cmd(char cmd, char *arg)