Clean up some warnings

This commit is contained in:
Marco Cawthorne 2023-07-16 22:46:26 -07:00
parent 7400694e81
commit a8f454dd2c
Signed by: eukara
GPG key ID: CE2032F0A2882A22
4 changed files with 3 additions and 5 deletions

View file

@ -223,8 +223,7 @@ CMD_ListModelFramegroups(void)
{
string modelName = argv(1);
float modelIndex = getmodelindex(modelName);
string firstGroup
string temp;
string temp = "";
print(sprintf("// model: %S\n", modelName));

View file

@ -138,8 +138,6 @@ decal::predraw(void)
void
decal::BuildShader(void)
{
string shader_buff;
/* skip empty decals */
if (!m_strTexture || !m_strTexture)
return;

View file

@ -580,7 +580,7 @@ NSProjectile::_Explode(void)
float movementAmount = 360.0f / (float)m_iDebrisCount;
for (int i = 0; i < m_iDebrisCount; i++) {
NSProjectile_SpawnDefAtPosition(m_defProjectileDebris, owner, explodePos, debrisAngle);
NSProjectile_SpawnDefAtPosition(m_defProjectileDebris, (NSEntity)owner, explodePos, debrisAngle);
debrisAngle[1] += movementAmount;
}
}

View file

@ -205,6 +205,7 @@ public:
/** Called by predraw(); and will set the appropriate rendering specific fields. */
nonvirtual void RenderFXPass(void);
nonvirtual void RenderAxialScale(void);
nonvirtual void RenderGLQuakeShadow(void);
#endif
};