mirror of
https://github.com/ZDoom/Raze.git
synced 2025-03-25 18:21:47 +00:00
- Fix two particularly loud warnings from GCC builds.
* `warning: type qualifiers ignored on function return type`.
This commit is contained in:
parent
7d5ca901eb
commit
0387282e37
2 changed files with 3 additions and 3 deletions
|
@ -23,7 +23,7 @@ struct PlayerAngles
|
|||
// General methods.
|
||||
void initialize(DCoreActor* const actor, const DAngle viewyaw = nullAngle)
|
||||
{
|
||||
if (pActor = actor) CameraAngles = PrevLerpAngles = pActor->spr.Angles;
|
||||
if ((pActor = actor)) CameraAngles = PrevLerpAngles = pActor->spr.Angles;
|
||||
PrevViewAngles.Yaw = ViewAngles.Yaw = viewyaw;
|
||||
}
|
||||
DAngle getPitchWithView()
|
||||
|
|
|
@ -184,12 +184,12 @@ inline const TileOffs* GetHiresOffset(FTextureID tex)
|
|||
else return nullptr;
|
||||
}
|
||||
|
||||
inline const unsigned tileflags(FTextureID texid)
|
||||
inline unsigned tileflags(FTextureID texid)
|
||||
{
|
||||
return GetExtInfo(texid).flags;
|
||||
}
|
||||
|
||||
inline const uint8_t tilesurface(FTextureID texid)
|
||||
inline uint8_t tilesurface(FTextureID texid)
|
||||
{
|
||||
return GetExtInfo(texid).surftype;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue