mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-13 16:07:40 +00:00
Remove more VC++ warnings
This commit is contained in:
parent
f429510cd1
commit
940794929c
3 changed files with 3 additions and 3 deletions
|
@ -7893,7 +7893,7 @@ scriptwait:
|
||||||
if (tag != 0)
|
if (tag != 0)
|
||||||
secnum = P_FindSectorFromTag (tag, -1);
|
secnum = P_FindSectorFromTag (tag, -1);
|
||||||
else
|
else
|
||||||
secnum = P_PointInSector (x, y) - sectors;
|
secnum = int(P_PointInSector (x, y) - sectors);
|
||||||
|
|
||||||
if (secnum >= 0)
|
if (secnum >= 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -2138,7 +2138,7 @@ void P_ZMovement (AActor *mo, fixed_t oldfloorz)
|
||||||
fixed_t oldz = mo->z;
|
fixed_t oldz = mo->z;
|
||||||
fixed_t grav = mo->GetGravity();
|
fixed_t grav = mo->GetGravity();
|
||||||
|
|
||||||
//
|
//
|
||||||
// check for smooth step up
|
// check for smooth step up
|
||||||
//
|
//
|
||||||
if (mo->player && mo->player->mo == mo && mo->z < mo->floorz)
|
if (mo->player && mo->player->mo == mo && mo->z < mo->floorz)
|
||||||
|
|
|
@ -57,7 +57,7 @@ void CheckCPUID(CPUInfo *cpu)
|
||||||
#if defined(_M_IX86) || defined(__i386__)
|
#if defined(_M_IX86) || defined(__i386__)
|
||||||
// Old 486s do not have CPUID, so we must test for its presence.
|
// Old 486s do not have CPUID, so we must test for its presence.
|
||||||
// This code is adapted from the samples in AMD's document
|
// 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__
|
#ifndef __GNUC__
|
||||||
__asm
|
__asm
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue