mirror of
https://salsa.debian.org/games-team/bsdgames
synced 2025-02-02 15:07:16 -05:00
atc: Won't allocate 26th plane if it was the most recently allocated plane.
Closes: #214626 Thanks: Jonathan David Amery <jdamery@ysolde.ucam.org>
This commit is contained in:
parent
53fa59878a
commit
eb22a7f652
24
debian/patches/0022-atc-Won-t-allocate-26th-plane-if-it-was-the-most-rec.patch
vendored
Normal file
24
debian/patches/0022-atc-Won-t-allocate-26th-plane-if-it-was-the-most-rec.patch
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
From: "Dr. Tobias Quathamer" <toddy@debian.org>
|
||||
Date: Thu, 23 Jan 2025 21:21:44 +0100
|
||||
Subject: atc: Won't allocate 26th plane if it was the most recently allocated
|
||||
plane.
|
||||
|
||||
Closes: #214626
|
||||
Thanks: Jonathan David Amery <jdamery@ysolde.ucam.org>
|
||||
---
|
||||
atc/update.c | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/atc/update.c b/atc/update.c
|
||||
index 39bbf2a..93a7b10 100644
|
||||
--- a/atc/update.c
|
||||
+++ b/atc/update.c
|
||||
@@ -295,7 +295,7 @@ next_plane()
|
||||
break;
|
||||
}
|
||||
} while (found && last_plane != start_plane);
|
||||
- if (last_plane == start_plane)
|
||||
+ if (found)
|
||||
return (-1);
|
||||
return (last_plane);
|
||||
}
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
@ -19,3 +19,4 @@
|
||||
0019-trek-Fix-error-that-prevents-visual-command-from-wor.patch
|
||||
0020-Update-README-and-remove-games-which-are-not-install.patch
|
||||
0021-Sync-countmail-with-NetBSD-HEAD.patch
|
||||
0022-atc-Won-t-allocate-26th-plane-if-it-was-the-most-rec.patch
|
||||
|
Loading…
x
Reference in New Issue
Block a user