Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Revisions: Issue #3935 All Revisions ] Back to Issue ]
Summary 0003935: Port over "wait 0" console command from ZCC
Revision 2021-12-09 12:29 by WaTaKiD
Description 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)".
Revision 2021-12-09 11:36 by agaures
Description 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)".






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker