MantisBT - Zandronum
View Issue Details
0003935Zandronum[All Projects] Suggestionpublic2021-12-09 11:362022-10-11 19:05
agaures 
Kaminsky 
lowfeatureN/A
resolvedfixed 
3.1 
3.23.2 
0003935: Port over "wait 0" console command from ZCC
As described in the ZCC thread ('https://zandronum.com/forum/viewtopic.php?t=6050 [^]' ), the "wait" console command always waits an extra tick. This behaviour seems unintentional.
Supporting a "wait 0" that waits 1 tick shouldn't break compatibility with previous binds or aliases that players and modders use.

The implementation seems to be changing line 802 of src/c_dispatch.cpp from "if (tics > 0)" to "if (tics >= 0)".
No tags attached.
Issue History
2021-12-09 11:36agauresNew Issue
2021-12-09 12:29WaTaKiDDescription Updatedbug_revision_view_page.php?rev_id=13425#r13425
2022-04-24 20:37KaminskyNote Added: 0022195
2022-04-24 20:37KaminskyAssigned To => Kaminsky
2022-04-24 20:37KaminskyStatusnew => needs testing
2022-04-24 20:37KaminskyProduct Version3.0 => 3.1
2022-04-24 20:37KaminskyTarget Version => 3.2
2022-10-11 14:00WaTaKiDNote Added: 0022434
2022-10-11 19:05KaminskyStatusneeds testing => resolved
2022-10-11 19:05KaminskyFixed in Version => 3.2
2022-10-11 19:05KaminskyResolutionopen => fixed

Notes
(0022195)
Kaminsky   
2022-04-24 20:37   
The following commit has been pushed into our main repo:'http://hg.osdn.net/view/zandronum/zandronum-stable/rev/e5ec67915449 [^]'

So using "wait 0" in the console should be acceptable now in 3.2.
(0022434)
WaTaKiD   
2022-10-11 14:00   
kaminsky made a custom build: 'https://cdn.discordapp.com/attachments/472599799825432577/1029259017245171722/ZandroDev3.2-221009-1928M.zip [^]'

it has a cmd called printgametic which can be put into a bind such as:
bind e "printgametic ; wait 0 ; printgametic"

after testing for a bit, it seems wait 0 works