mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
This commit is contained in:
commit
5c30a99aa9
3 changed files with 8 additions and 7 deletions
|
@ -46,7 +46,6 @@ matrix:
|
|||
compiler: gcc
|
||||
env:
|
||||
- GCC_VERSION=7
|
||||
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=MinSizeRel"
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
|
@ -58,15 +57,15 @@ matrix:
|
|||
- os: linux
|
||||
compiler: clang
|
||||
env:
|
||||
- CLANG_VERSION=3.9
|
||||
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=Debug -DDYN_OPENAL=NO -DDYN_SNDFILE=NO -DDYN_MPG123=NO -DDYN_FLUIDSYNTH=NO"
|
||||
- CLANG_VERSION=4.0
|
||||
- CMAKE_OPTIONS="-DCMAKE_BUILD_TYPE=MinSizeRel -DDYN_OPENAL=NO -DDYN_SNDFILE=NO -DDYN_MPG123=NO -DDYN_FLUIDSYNTH=NO"
|
||||
addons:
|
||||
apt:
|
||||
sources:
|
||||
- ubuntu-toolchain-r-test
|
||||
- llvm-toolchain-trusty-3.9
|
||||
- llvm-toolchain-trusty-4.0
|
||||
packages:
|
||||
- clang-3.9
|
||||
- clang-4.0
|
||||
- libstdc++-5-dev
|
||||
- libsdl2-dev
|
||||
- libgme-dev
|
||||
|
|
|
@ -593,8 +593,9 @@ bool EV_CeilingCrushStop (int tag, bool remove)
|
|||
|
||||
bool EV_StopCeiling(int tag, line_t *line)
|
||||
{
|
||||
int sec;
|
||||
FSectorTagIterator it(tag, line);
|
||||
while (int sec = it.Next())
|
||||
while ((sec = it.Next()) >= 0)
|
||||
{
|
||||
if (level.sectors[sec].ceilingdata)
|
||||
{
|
||||
|
|
|
@ -570,8 +570,9 @@ bool EV_FloorCrushStop (int tag, line_t *line)
|
|||
// same as above but stops any floor mover that was active on the given sector.
|
||||
bool EV_StopFloor(int tag, line_t *line)
|
||||
{
|
||||
int sec;
|
||||
FSectorTagIterator it(tag, line);
|
||||
while (int sec = it.Next())
|
||||
while ((sec = it.Next()) >= 0)
|
||||
{
|
||||
if (level.sectors[sec].floordata)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue