mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
SW: Draw the crosshair actually centered
Thanks to Striker for the tip. git-svn-id: https://svn.eduke32.com/eduke32@8524 1a8010ca-5511-0410-912e-c29ae57300e0 # Conflicts: # source/sw/src/draw.cpp
This commit is contained in:
parent
91cbaa1491
commit
ae94566fb5
1 changed files with 2 additions and 3 deletions
|
@ -1633,10 +1633,9 @@ void DrawCrosshair(PLAYERp pp)
|
|||
|
||||
{
|
||||
//NORMALXHAIR:
|
||||
rotatesprite(CrosshairX, CrosshairY, (1 << 16), 0,
|
||||
rotatesprite(160<<16, 100<<16, (1 << 16), 0,
|
||||
2326, 10, 0,
|
||||
//ROTATE_SPRITE_VIEW_CLIP|ROTATE_SPRITE_CORNER, 0, 0, xdim - 1, ydim - 1);
|
||||
ROTATE_SPRITE_SCREEN_CLIP|ROTATE_SPRITE_CORNER, 0, 0, xdim - 1, ydim - 1);
|
||||
ROTATE_SPRITE_VIEW_CLIP, windowxy1.x, windowxy1.y, windowxy2.x, windowxy2.y);
|
||||
}
|
||||
|
||||
//#define TITLE_ROT_FLAGS (ROTATE_SPRITE_CORNER|ROTATE_SPRITE_SCREEN_CLIP|ROTATE_SPRITE_NON_MASK)
|
||||
|
|
Loading…
Reference in a new issue