git repos / saland

commit 91bdec31

Poul Sander · 2023-01-20 16:03
91bdec31fd5601fdfa7c55ccd2a8707a9a3fdd42 patch · browse files
parent d05a48cfebe2913e6f0a54ae03fa0a94dbfca41d

More forrest region

Changed files

M src/saland/GameRegion.cpp before
diff --git a/src/saland/GameRegion.cpp b/src/saland/GameRegion.cpp index ba1f65d..93b97d0 100644 --- a/src/saland/GameRegion.cpp +++ b/src/saland/GameRegion.cpp
@@ -141,7 +141,7 @@ void GameRegion::SpawnItem(const ItemDef& def, float destX, float destY) {
}
static std::string GetRegionType(int region_x, int region_y) {
- if (region_x < 0 && region_y == 0) {
+ if (region_x < 1) {
return "forrest";
}
if (region_x == 0 && region_y == 0) {