-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Server: Backport 0027-worklist_item_postpone_req_vec-Add-break-for-VU…
…T_PLA.patch Signed-off-by: Marko Lindqvist <[email protected]>
- Loading branch information
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
freeciv/patches/backports/0027-worklist_item_postpone_req_vec-Add-break-for-VUT_PLA.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
From 11971174cc3b27fe306b7fe6fa8d0e6a777f482f Mon Sep 17 00:00:00 2001 | ||
From: Marko Lindqvist <[email protected]> | ||
Date: Sun, 17 Dec 2023 09:35:28 +0200 | ||
Subject: [PATCH 27/28] worklist_item_postpone_req_vec(): Add break; for | ||
VUT_PLAYER_FLAG case | ||
|
||
See RM #72 | ||
|
||
Signed-off-by: Marko Lindqvist <[email protected]> | ||
--- | ||
server/cityturn.c | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/server/cityturn.c b/server/cityturn.c | ||
index bf8237d363..363eedd40a 100644 | ||
--- a/server/cityturn.c | ||
+++ b/server/cityturn.c | ||
@@ -1370,6 +1370,7 @@ static bool worklist_item_postpone_req_vec(struct universal *target, | ||
script_server_signal_emit(signal_name, ptarget, | ||
pcity, "have_player_flag"); | ||
} | ||
+ break; | ||
case VUT_PLAYER_STATE: | ||
purge = TRUE; | ||
break; | ||
-- | ||
2.43.0 | ||
|