mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 06:42:08 +00:00
Revert "Fixed timekeeping when starting a sigrenderer with a time offset"
This reverts commit cf2577d4bc284fb5c5b71377413a47c72a1362dc.
This commit is contained in:
parent
fe990dcc7c
commit
06bb75576c
1 changed files with 0 additions and 8 deletions
|
@ -5482,10 +5482,6 @@ static sigrenderer_t *it_start_sigrenderer(DUH *duh, sigdata_t *vsigdata, int n_
|
|||
while (pos > 0 && pos >= sigrenderer->time_left) {
|
||||
render(sigrenderer, 0, 1.0f, 0, sigrenderer->time_left, NULL);
|
||||
|
||||
#ifdef BIT_ARRAY_BULLSHIT
|
||||
sigrenderer->time_played += (LONG_LONG)sigrenderer->time_left << 16;
|
||||
#endif
|
||||
|
||||
pos -= sigrenderer->time_left;
|
||||
sigrenderer->time_left = 0;
|
||||
|
||||
|
@ -5498,10 +5494,6 @@ static sigrenderer_t *it_start_sigrenderer(DUH *duh, sigdata_t *vsigdata, int n_
|
|||
render(sigrenderer, 0, 1.0f, 0, pos, NULL);
|
||||
sigrenderer->time_left -= pos;
|
||||
|
||||
#ifdef BIT_ARRAY_BULLSHIT
|
||||
sigrenderer->time_played += (LONG_LONG)pos << 16;
|
||||
#endif
|
||||
|
||||
return sigrenderer;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue