]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cmd.h
cmd: Refactored the cbuf system to fix a bug and clean things up a bit
[xonotic/darkplaces.git] / cmd.h
diff --git a/cmd.h b/cmd.h
index e6011011ce4e781685c222b363754edafd5ec58c..b1218a73783f8f529ea5d527c1df3957685f08d4 100644 (file)
--- a/cmd.h
+++ b/cmd.h
@@ -141,6 +141,7 @@ typedef struct cbuf_cmd_s
        double delay;
        size_t size;
        char text[MAX_INPUTLINE];
+       qboolean pending;
 } cbuf_cmd_t;
 
 typedef struct cbuf_s
@@ -148,7 +149,6 @@ typedef struct cbuf_s
        cbuf_cmd_t *start;
        cbuf_cmd_t *deferred;
        cbuf_cmd_t *free;
-       qboolean pending;
        qboolean wait;
        size_t maxsize;
        size_t size;