- do not use global variables to track state in the decal code.
Setups like this have caused problems in the past so best get rid of it.
This commit is contained in:
parent
36896a1224
commit
3fbc55a8dd
4 changed files with 44 additions and 40 deletions
|
|
@ -53,12 +53,12 @@
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
FString WeaponSection;
|
||||
static FString WeaponSection;
|
||||
TArray<FString> KeyConfWeapons;
|
||||
FWeaponSlots *PlayingKeyConf;
|
||||
static FWeaponSlots *PlayingKeyConf;
|
||||
|
||||
TArray<PClassActor *> Weapons_ntoh;
|
||||
TMap<PClassActor *, int> Weapons_hton;
|
||||
static TArray<PClassActor *> Weapons_ntoh;
|
||||
static TMap<PClassActor *, int> Weapons_hton;
|
||||
|
||||
static int ntoh_cmp(const void *a, const void *b);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue