summaryrefslogtreecommitdiff
path: root/lib/unicode
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2015-06-12 17:28:09 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2015-06-12 17:28:09 +0200
commite4c3f92c163dec741abeadeca80d6a938561dfb3 (patch)
treee176989ae16f94ac5b87b76588502975964ac59c /lib/unicode
parent34ae4649cc91bf32cd602558a4e953bc3fb8777a (diff)
downloadplan9front-e4c3f92c163dec741abeadeca80d6a938561dfb3.tar.xz
games/doom: fix desyncing demo (thanks qwx)
the code used P_Random()-P_Random() in some places which has undefined evaluation order resulting in the wrong pseudo random numbers being returned causing demo playback to desync. this change adds P_Random2() function which returns the right delta-random number and uses it in place of P_Random()-P_Random() expression.
Diffstat (limited to 'lib/unicode')
0 files changed, 0 insertions, 0 deletions