mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-03 11:12:13 +00:00
games/wyrmgus: update to 5.2.4
This commit is contained in:
parent
897308a6db
commit
11ada88f76
@ -1,7 +1,7 @@
|
||||
# Created by: Travis Poppe <tlp@liquidx.org>
|
||||
|
||||
PORTNAME= wyrmgus
|
||||
PORTVERSION= 5.2.3
|
||||
PORTVERSION= 5.2.4
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= games devel
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1634737462
|
||||
SHA256 (Andrettin-Wyrmgus-v5.2.3_GH0.tar.gz) = ae9a5dc0c9ddd48aedce2206a631cd59f4dc9af6737204314d2c12058512a380
|
||||
SIZE (Andrettin-Wyrmgus-v5.2.3_GH0.tar.gz) = 1579265
|
||||
TIMESTAMP = 1637182313
|
||||
SHA256 (Andrettin-Wyrmgus-v5.2.4_GH0.tar.gz) = a7be284d1cc4da6ca6bfd286b1629776e174a5b42276bf7206674d888bd3bc44
|
||||
SIZE (Andrettin-Wyrmgus-v5.2.4_GH0.tar.gz) = 1585986
|
||||
|
19
games/wyrmgus/files/patch-src_map_map.cpp
Normal file
19
games/wyrmgus/files/patch-src_map_map.cpp
Normal file
@ -0,0 +1,19 @@
|
||||
--- src/map/map.cpp.orig 2021-11-17 14:34:51 UTC
|
||||
+++ src/map/map.cpp
|
||||
@@ -3759,6 +3759,7 @@ void CMap::clear_paths_between_subtemplates(const int
|
||||
const CMapLayer *map_layer = this->MapLayers[z].get();
|
||||
|
||||
for (const auto &[subtemplate, subtemplate_rect] : map_layer->subtemplate_areas) {
|
||||
+ const auto& subtemplate_ = subtemplate;
|
||||
const QPoint min_pos = subtemplate_rect.topLeft();
|
||||
const QPoint max_pos = subtemplate_rect.bottomRight();
|
||||
|
||||
@@ -3788,7 +3789,7 @@ void CMap::clear_paths_between_subtemplates(const int
|
||||
return;
|
||||
}
|
||||
|
||||
- subtemplate_path_start_points[subtemplate].push_back(std::move(adjacent_pos));
|
||||
+ subtemplate_path_start_points[subtemplate_].push_back(std::move(adjacent_pos));
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user