X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=r_sprites.c;h=4118a5b7f99ef6180676d59e712d13eef9e834c3;hb=32cd7192236e718e0f843142051985dabd5a2811;hp=b9d3293e9b21165958f2071e1ff78b5aa57202bf;hpb=48669036b4be979d997c27227942ed9c430277d5;p=xonotic%2Fdarkplaces.git diff --git a/r_sprites.c b/r_sprites.c index b9d3293e..4118a5b7 100644 --- a/r_sprites.c +++ b/r_sprites.c @@ -181,7 +181,7 @@ static void R_RotateSprite(const mspriteframe_t *frame, vec3_t origin, vec3_t le // Now that we've kicked center-hotspotted sprites, rotate using the appropriate matrix :) // determine the angle of a sprite, we could only do that once though and - // add a `qboolean initialized' to the mspriteframe_t struct... let's get the direction vector of it :) + // add a `qbool initialized' to the mspriteframe_t struct... let's get the direction vector of it :) angle = atan(dir[1] / dir[0]) * 180.0f/M_PI; @@ -420,7 +420,7 @@ static void R_Model_Sprite_Draw_TransparentCallback(const entity_render_t *ent, for (i = 0; i < 4; i++) R_DebugLine(vertex3f + i * 3, vertex3f + ((i + 1) % 4) * 3); - R_DrawCustomSurface_Texture(texture, &identitymatrix, texture->currentmaterialflags, 0, 4, 0, 2, false, false); + R_DrawCustomSurface_Texture(texture, &identitymatrix, texture->currentmaterialflags, 0, 4, 0, 2, false, false, false); } }