return false;
}
- if ( getstati(STAT_HEALTH) <= 0 )
+ if ( STAT(HEALTH) <= 0 )
{
// Show scoreboard
if ( bInputType < 2 )
}
- const vector cursor_size = '32 32 0';
- drawpic(mousepos-'8 4 0', strcat("gfx/menu/", autocvar_menu_skin, "/cursor.tga"), cursor_size, '1 1 1', 0.8, DRAWFLAG_NORMAL);
+ draw_cursor_normal(mousepos, '1 1 1', 0.8);
}
void HUD_Radar()
if ( it.team == myteam+1 )
{
vector coord = teamradar_texcoord_to_2dcoord(teamradar_3dcoord_to_texcoord(it.origin));
- if ( vlen(mousepos-coord) < 8 )
+ if(vdist((mousepos - coord), <, 8))
{
vector brightcolor;
brightcolor_x = min(1,it.teamradar_color_x*1.5);
{
string message = "Click to select teleport destination";
- if ( getstati(STAT_HEALTH) <= 0 )
+ if ( STAT(HEALTH) <= 0 )
{
message = "Click to select spawn location";
}