projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d8af3e
)
fixed bug with tape length less than "pause before end" seconds
author
Holger Schemel
<info@artsoft.org>
Fri, 4 Feb 2022 08:10:37 +0000
(09:10 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 6 Feb 2022 02:05:36 +0000
(
03:05
+0100)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index 0a63b79578c0aee5f24dacbd32c1fe7348d1a4e4..a6ab98561aa32c9f2dcc213cbc07312941cfa3d2 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-985,7
+985,7
@@
byte *TapePlayAction(void)
if (tape.pause_before_end) // stop some seconds before end of tape
{
- if (TapeTime > tape.length_seconds - TAPE_PAUSE_SECONDS_BEFORE_DEATH)
+ if (TapeTime >
(int)
tape.length_seconds - TAPE_PAUSE_SECONDS_BEFORE_DEATH)
{
TapeStopWarpForward();
TapeTogglePause(TAPE_TOGGLE_MANUAL);