diff --git a/Source/Client/Init.c b/Source/Client/Init.c old mode 100644 new mode 100755 index bd508bae..0342f3b3 --- a/Source/Client/Init.c +++ b/Source/Client/Init.c @@ -77,7 +77,7 @@ void CSQC_Init(float apilevel, string enginename, float engineversion) { PARTICLE_SMOKE_BROWN = particleeffectnum( "part_smoke_brown" ); PARTICLE_BLOOD = particleeffectnum( "part_blood" ); DECAL_SHOT = particleeffectnum( "decal_shot" ); - DECAL_SHOT = particleeffectnum( "decal_glass" ); + DECAL_GLASS = particleeffectnum( "decal_glass" ); Radio_InitSounds(); diff --git a/Source/Client/VGUIObjects.c b/Source/Client/VGUIObjects.c old mode 100644 new mode 100755 index b80f8bbd..823aba52 --- a/Source/Client/VGUIObjects.c +++ b/Source/Client/VGUIObjects.c @@ -55,7 +55,7 @@ void VGUI_Window( string sTitle, vector vPos, vector vSize ) { vector v1, v2, v3; // Draw the background - drawfill( vPos, vSize - '1 1 0', VGUI_WINDOW_BGCOLOR, VGUI_WINDOW_BGALPHA ); + drawfill( vPos + '1 1', vSize - '2 2', VGUI_WINDOW_BGCOLOR, VGUI_WINDOW_BGALPHA ); // Draw the outline START v1_x = vPos_x + vSize_x; @@ -81,7 +81,7 @@ void VGUI_WindowSmall( string sTitle, vector vPos, vector vSize ) { vector v1, v2, v3; // Draw the background - drawfill( vPos, vSize - '1 1 0', VGUI_WINDOW_BGCOLOR, VGUI_WINDOW_BGALPHA ); + drawfill( vPos + '1 1', vSize - '2 2', VGUI_WINDOW_BGCOLOR, VGUI_WINDOW_BGALPHA ); // Draw the outline START v1_x = vPos_x + vSize_x; diff --git a/Source/Client/VGUIScoreboard.c b/Source/Client/VGUIScoreboard.c old mode 100644 new mode 100755 index 594b6335..6ca69bda --- a/Source/Client/VGUIScoreboard.c +++ b/Source/Client/VGUIScoreboard.c @@ -115,7 +115,7 @@ void VGUI_Scores_Show( void ) { vMainPos_y = 56; // Draw the background - drawfill( vMainPos, vSize - '1 1 0', VGUI_WINDOW_BGCOLOR, VGUI_WINDOW_BGALPHA ); + drawfill( vMainPos + '1 1', vSize - '2 2', VGUI_WINDOW_BGCOLOR, VGUI_WINDOW_BGALPHA ); // Draw the outline START v1_x = vMainPos_x + vSize_x; diff --git a/Source/Client/progs.src b/Source/Client/progs.src old mode 100644 new mode 100755 index 152adcea..3b7a262c --- a/Source/Client/progs.src +++ b/Source/Client/progs.src @@ -1,6 +1,6 @@ #pragma target fte -#pragma progs_dat "../../opencs/csprogs.dat" +#pragma progs_dat "../../freecs/csprogs.dat" #define CSQC diff --git a/freecs/csprogs.dat b/freecs/csprogs.dat index 49562fc8..8b97e84b 100644 Binary files a/freecs/csprogs.dat and b/freecs/csprogs.dat differ