Skip to content

Commit

Permalink
Fix compile warnings from SM 1.12
Browse files Browse the repository at this point in the history
  • Loading branch information
FortyTwoFortyTwo committed Dec 3, 2024
1 parent fc9cf73 commit 03bcedf
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 14 deletions.
12 changes: 1 addition & 11 deletions addons/sourcemod/scripting/saxtonhale.sp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
#define ATTRIB_MELEE_RANGE_MULTIPLIER 264
#define ATTRIB_BIDERECTIONAL 276
#define ATTRIB_JUMP_HEIGHT 326
#define ATTRIB_LESSHEALING 734

#define ITEM_ROCK_PAPER_SCISSORS 1110

Expand All @@ -48,17 +49,6 @@

#define PARTICLE_GHOST "ghost_appearation"

#define FL_EDICT_CHANGED (1<<0) // Game DLL sets this when the entity state changes
// Mutually exclusive with FL_EDICT_PARTIAL_CHANGE.

#define FL_EDICT_FREE (1<<1) // this edict if free for reuse
#define FL_EDICT_FULL (1<<2) // this is a full server entity

#define FL_EDICT_FULLCHECK (0<<0) // call ShouldTransmit() each time, this is a fake flag
#define FL_EDICT_ALWAYS (1<<3) // always transmit this entity
#define FL_EDICT_DONTSEND (1<<4) // don't transmit this entity
#define FL_EDICT_PVSCHECK (1<<5) // always transmit entity, but cull against PVS

#define TEXT_TAG "\x07E19300[\x07E17100VSH REWRITE\x07E19300]\x01"
#define TEXT_COLOR "\x07E19F00"
#define TEXT_DARK "\x07E17100"
Expand Down
1 change: 0 additions & 1 deletion addons/sourcemod/scripting/vsh/bosses/boss_pyrocar.sp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#define ITEM_BACKBURNER 40
#define ITEM_THERMAL_THRUSTER 1179
#define ITEM_GAS_PASSER 1180
#define ATTRIB_LESSHEALING 734
#define TF_DMG_AFTERBURN DMG_PREVENT_PHYSICS_FORCE | DMG_BURN
#define TF_DMG_GAS_AFTERBURN DMG_BURN|DMG_PREVENT_PHYSICS_FORCE|DMG_ACID
#define PYROCAR_BACKBURNER_ATTRIBUTES "24 ; 1.0 ; 72 ; 0.5 ; 74 ; 0.0 ; 112 ; 0.25 ; 178 ; 0.2 ; 181 ; 1.0 ; 252 ; 0.5 ; 259 ; 1.0 ; 356 ; 1.0 ; 839 ; 2.8 ; 841 ; 0 ; 843 ; 8.5 ; 844 ; 1850.0 ; 862 ; 0.45 ; 863 ; 0.01 ; 865 ; 85 ; 214 ; %d"
Expand Down
2 changes: 0 additions & 2 deletions addons/sourcemod/scripting/vsh/stocks.sp
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#define ATTRIB_LESSHEALING 734

stock void Client_AddHealth(int iClient, int iAdditionalHeal, int iMaxOverHeal=0)
{
int iMaxHealth = SDK_GetMaxHealth(iClient);
Expand Down

0 comments on commit 03bcedf

Please sign in to comment.