]> de.git.xonotic.org Git - xonotic/darkplaces.git/commit
cmd: Refactored the cbuf system to fix a bug and clean things up a bit
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 16 Aug 2020 17:28:25 +0000 (17:28 +0000)
committercloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Sun, 16 Aug 2020 17:28:25 +0000 (17:28 +0000)
commit8a5fdbcbbb38d2d68a3b21ba608793562e95f51b
tree7ef615af3725a2d31800f5c233a4672f858d0cc6
parent66463b49830b6626ce9ff7fe5921e4964a26e046
cmd: Refactored the cbuf system to fix a bug and clean things up a bit

The bug was the cbuf erronously assuming the pending command would
always be the head of the main list, which is only true with
Cbuf_InsertText, resulting in broken behavior if an appended command
was left incomplete.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12905 d7cf8633-e32d-0410-b094-e92efae38249
cmd.c
cmd.h