From 809a9d801cb69aedc0f449604954aaddd08e89f7 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 31 Jan 2016 21:23:45 -0600 Subject: [PATCH] Got a flag backwards --- src/p_lnspec.cpp | 2 +- zdoom.vcproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_lnspec.cpp b/src/p_lnspec.cpp index da0c87aa3..192a217d8 100644 --- a/src/p_lnspec.cpp +++ b/src/p_lnspec.cpp @@ -903,7 +903,7 @@ FUNC(LS_Teleport_NoFog) // Teleport_NoFog (tid, useang, sectortag, keepheight) { int flags = 0; - if (arg1) + if (!arg1) { flags |= TELF_KEEPORIENTATION; } diff --git a/zdoom.vcproj b/zdoom.vcproj index 58d8cd4a0..597b56f2f 100644 --- a/zdoom.vcproj +++ b/zdoom.vcproj @@ -292,7 +292,7 @@ Name="VCCLCompilerTool" Optimization="0" AdditionalIncludeDirectories="src\win32;src\sound;src;zlib;src\g_shared;src\g_doom;src\g_raven;src\g_heretic;src\g_hexen;src\g_strife;"jpeg-6b";"game-music-emu";gdtoa;bzip2;lzma\C" - PreprocessorDefinitions="NOASM,WIN32,_DEBUG,_WIN32,_WINDOWS,_CRTDBG_MAP_ALLOC,HAVE_STRUPR,HAVE_FILELENGTH;NO_VA_COPY,BACKPATCH,HAVE_FLUIDSYNTH,DYN_FLUIDSYNTH,NO_OPENAL" + PreprocessorDefinitions="WIN32,_DEBUG,_WIN32,_WINDOWS,_CRTDBG_MAP_ALLOC,HAVE_STRUPR,HAVE_FILELENGTH;NO_VA_COPY,BACKPATCH,HAVE_FLUIDSYNTH,DYN_FLUIDSYNTH,NO_OPENAL" MinimalRebuild="true" RuntimeLibrary="1" EnableFunctionLevelLinking="true"