]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_sprites.c
Make stepping up while jumping reliable
[xonotic/darkplaces.git] / r_sprites.c
index d01c99a47c0549984daa755d7f5d12c3a1ff79b0..9bf13fb912f61542abc3bebc5eb473f007d1a939 100644 (file)
@@ -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;
 
@@ -208,7 +208,7 @@ static float spritetexcoord2f[4*2] = {0, 1, 0, 0, 1, 0, 1, 1};
 static void R_Model_Sprite_Draw_TransparentCallback(const entity_render_t *ent, const rtlight_t *rtlight, int numsurfaces, int *surfacelist)
 {
        int i;
-       dp_model_t *model = ent->model;
+       model_t *model = ent->model;
        vec3_t left, up, org, mforward, mleft, mup, middle;
        float scale, dx, dy, hud_vs_screen;
        int edge = 0;