Skip to content

Commit

Permalink
codestyle fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedgefog committed Feb 23, 2021
1 parent 8e4d81e commit b848332
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions src/scripts/core/zombiepanic.sma
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#define AUTHOR "Hedgehog Fog"

new g_pFwConfigLoaded;
new g_pFwResult;
new g_iFwResult;

new g_pCvarVersion;

Expand Down Expand Up @@ -50,7 +50,7 @@ public plugin_cfg() {
server_cmd("exec %s/zombiepanic.cfg", szConfigDir);
server_exec();

ExecuteForward(g_pFwConfigLoaded, g_pFwResult);
ExecuteForward(g_pFwConfigLoaded, g_iFwResult);
}

public OnVersionCvarChange() {
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/core/zp_gamerules.sma
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ new g_pCvarLives;
new g_pCvarLivesPerPlayer;

new g_pFwPlayerJoined;
new g_pFwResult;
new g_iFwResult;

new g_iTeamMenu;
new bool:g_bObjectiveMode = false;
Expand Down Expand Up @@ -439,7 +439,7 @@ public Task_Join(pPlayer) {
set_member(pPlayer, m_iTeam, 2);
set_member(pPlayer, m_iJoiningState, 5);

ExecuteForward(g_pFwPlayerJoined, g_pFwResult, pPlayer);
ExecuteForward(g_pFwPlayerJoined, g_iFwResult, pPlayer);
}

/*--------------------------------[ Team Menu ]--------------------------------*/
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/core/zp_panic.sma
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ new bool:g_bPlayerPanic[MAX_PLAYERS + 1];
new Float:g_flPlayerLastPanic[MAX_PLAYERS + 1];

new g_pFwPanic;
new g_pFwResult;
new g_iFwResult;

public plugin_init() {
register_plugin(PLUGIN, ZP_VERSION, AUTHOR);
Expand Down Expand Up @@ -91,7 +91,7 @@ bool:Panic(pPlayer) {

set_task(PANIC_DURATION, "Task_EndPanic", pPlayer);

ExecuteForward(g_pFwPanic, g_pFwResult, pPlayer);
ExecuteForward(g_pFwPanic, g_iFwResult, pPlayer);

return true;
}
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/core/zp_use_pickup.sma
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ new g_pPlayerAimItem[MAX_PLAYERS + 1] = { -1, ... };
new g_bPlayerPickup[MAX_PLAYERS + 1] = { false, ... };

new g_pFwAimItem;
new g_pFwResult;
new g_iFwResult;

new g_pCvarUsePickup;
new g_pCvarUsePickupHighlight;
Expand Down Expand Up @@ -133,7 +133,7 @@ public OnPlayerPreThink_Post(pPlayer) {
g_pPlayerAimItem[pPlayer] = pEntity;

if (pEntity != pPrevAimItem) {
ExecuteForward(g_pFwAimItem, g_pFwResult, pPlayer, pEntity);
ExecuteForward(g_pFwAimItem, g_iFwResult, pPlayer, pEntity);
}

break;
Expand Down
4 changes: 2 additions & 2 deletions src/scripts/core/zp_zombie_vision.sma
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ new bool:g_bPlayerExternalFade[MAX_PLAYERS + 1];
new bool:g_bIgnoreFadeMessage;

new g_pFwZombieVision;
new g_pFwResult;
new g_iFwResult;

new g_pCvarAuto;

Expand Down Expand Up @@ -197,7 +197,7 @@ SetZombieVision(pPlayer, bool:bValue) {
VisionFadeEffect(pPlayer, bValue);
g_bPlayerVision[pPlayer] = bValue;

ExecuteForward(g_pFwZombieVision, g_pFwResult, pPlayer, bValue);
ExecuteForward(g_pFwZombieVision, g_iFwResult, pPlayer, bValue);
}

VisionFadeEffect(pPlayer, bool:bValue) {
Expand Down

0 comments on commit b848332

Please sign in to comment.