From 21dea2ff46fd41395b948ca87281de4c0ab7c750 Mon Sep 17 00:00:00 2001
From: jsalmon3 <>
Date: Sun, 14 Mar 2004 19:26:06 +0000
Subject: [PATCH] Don't allow VideoSyncSpeed to be 0

---
 src/ui/interface.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/ui/interface.cpp b/src/ui/interface.cpp
index 71e2d1bc4..d9a84cf59 100644
--- a/src/ui/interface.cpp
+++ b/src/ui/interface.cpp
@@ -505,10 +505,10 @@ local void UiIncreaseGameSpeed(void)
 */
 local void UiDecreaseGameSpeed(void)
 {
-	if (VideoSyncSpeed <= 0) {
-		VideoSyncSpeed = 0;
-	} else if (VideoSyncSpeed < 11) {
-		VideoSyncSpeed -= 1;
+	if (VideoSyncSpeed <= 10) {
+		if (VideoSyncSpeed > 1) {
+			--VideoSyncSpeed;
+		}
 	} else {
 		VideoSyncSpeed -= 10;
 	}