diff --git a/src/p_acs.cpp b/src/p_acs.cpp index d8fdf13d2..4909a79d6 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -7893,7 +7893,7 @@ scriptwait: if (tag != 0) secnum = P_FindSectorFromTag (tag, -1); else - secnum = P_PointInSector (x, y) - sectors; + secnum = int(P_PointInSector (x, y) - sectors); if (secnum >= 0) { diff --git a/src/p_mobj.cpp b/src/p_mobj.cpp index 75df3bb3e..eb214279d 100644 --- a/src/p_mobj.cpp +++ b/src/p_mobj.cpp @@ -2138,7 +2138,7 @@ void P_ZMovement (AActor *mo, fixed_t oldfloorz) fixed_t oldz = mo->z; fixed_t grav = mo->GetGravity(); -// +// // check for smooth step up // if (mo->player && mo->player->mo == mo && mo->z < mo->floorz) diff --git a/src/x86.cpp b/src/x86.cpp index e03b4795e..ec36aae93 100644 --- a/src/x86.cpp +++ b/src/x86.cpp @@ -57,7 +57,7 @@ void CheckCPUID(CPUInfo *cpu) #if defined(_M_IX86) || defined(__i386__) // Old 486s do not have CPUID, so we must test for its presence. // This code is adapted from the samples in AMD's document - // entitled "AMD-K6™ MMX Processor Multimedia Extensions." + // entitled "AMD-K6 MMX Processor Multimedia Extensions." #ifndef __GNUC__ __asm {