Skip to content

Commit

Permalink
Merge pull request #193 from bibendovsky/develop
Browse files Browse the repository at this point in the history
v1.1.16
  • Loading branch information
bibendovsky authored Feb 2, 2020
2 parents 76c4d12 + 103001d commit c7d8adf
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 28 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# BStone changelog


## [1.1.16] - 2020-02-01
### Fixed
- Removed some checks on barriers (by bibendovsky).


## [1.1.15] - 2020-01-25
### Changed
- Number secret floor (by bibendovsky).
Expand Down
26 changes: 0 additions & 26 deletions src/3d_act2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2821,32 +2821,6 @@ void ConnectBarriers()
{
::Quit("A barrier switch was not connect to any barriers.");
}

auto actor =
::actorat[barrier->coord.tilex][barrier->coord.tiley];

if (actor != nullptr)
{
switch (actor->obclass)
{
case arc_barrierobj:
case post_barrierobj:
break;
default:
::Quit("A barrier switch was not connect to any barriers.");
break;
}

static_cast<void>(::CheckActor(actor, num));
}
else
{
// BBi Custom maps may have switches connected to non-activable objects.
#if 0
::Quit("A barrier switch was not connect to any barriers.");
#endif // 0
}

}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/3d_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10516,7 +10516,7 @@ const std::string& get_version_string()
#ifdef __vita__
static const std::string version = "0.3";
#else
static const std::string version = "1.1.15";
static const std::string version = "1.1.16";
#endif
return version;
}
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.1.3 FATAL_ERROR)
project(bstone VERSION 1.1.15 LANGUAGES CXX)
project(bstone VERSION 1.1.16 LANGUAGES CXX)


option(BSTONE_USE_STATIC_LINKING "Link build statically." OFF)
Expand Down

0 comments on commit c7d8adf

Please sign in to comment.