Remove all player buffs/debuffs at the start of a stage to prevent buff stacking exploit from using items in your loadout and dying/restarting the stage. Release Build 10256.
This commit is contained in:
parent
2cb6fe9d87
commit
aefa81d71f
@ -2325,6 +2325,7 @@ void AiL::_PrepareLevel(MapName map,MusicChange changeMusic){
|
|||||||
GetPlayer()->_SetIframes(0.f);
|
GetPlayer()->_SetIframes(0.f);
|
||||||
GetPlayer()->SetInvisible(false);
|
GetPlayer()->SetInvisible(false);
|
||||||
GetPlayer()->ResetVelocity();
|
GetPlayer()->ResetVelocity();
|
||||||
|
GetPlayer()->RemoveAllBuffs();
|
||||||
|
|
||||||
STEAMINPUT( //This is kind of a hack to refresh the in-game controls handle and button icons if for some reason it's not setup correctly.
|
STEAMINPUT( //This is kind of a hack to refresh the in-game controls handle and button icons if for some reason it's not setup correctly.
|
||||||
Input::LoadSteamButtonIcons();
|
Input::LoadSteamButtonIcons();
|
||||||
|
@ -39,7 +39,7 @@ All rights reserved.
|
|||||||
#define VERSION_MAJOR 1
|
#define VERSION_MAJOR 1
|
||||||
#define VERSION_MINOR 2
|
#define VERSION_MINOR 2
|
||||||
#define VERSION_PATCH 3
|
#define VERSION_PATCH 3
|
||||||
#define VERSION_BUILD 10254
|
#define VERSION_BUILD 10256
|
||||||
|
|
||||||
#define stringify(a) stringify_(a)
|
#define stringify(a) stringify_(a)
|
||||||
#define stringify_(a) #a
|
#define stringify_(a) #a
|
||||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user