mirror of
https://github.com/Jackzmc/sourcemod-plugins.git
synced 2025-05-05 18:33:21 +00:00
Re-add import
This commit is contained in:
parent
6902a8f744
commit
f8eb9909f2
3 changed files with 3 additions and 2 deletions
Binary file not shown.
|
@ -401,12 +401,12 @@ enum struct PlayerPropData {
|
|||
void SetItemBuffer(ArrayList list, int flags = IMF_NoChange) {
|
||||
// Cleanup previous buffer if exist
|
||||
this.itemBuffer = list;
|
||||
if(flags != IMF_NoChange) {
|
||||
if(flags != view_as<int>(IMF_NoChange)) {
|
||||
this.bufferFlags = flags;
|
||||
}
|
||||
}
|
||||
void ClearItemBuffer() {
|
||||
if(this.itemBuffer != null && this.bufferFlags & IMF_DeleteAfterUse) {
|
||||
if(this.itemBuffer != null && this.bufferFlags & view_as<int>(IMF_DeleteAfterUse)) {
|
||||
PrintToServer("ClearItemBuffer(): arraylist deleted.");
|
||||
delete this.itemBuffer;
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@ ConVar enabledBlacklist;
|
|||
#include <editor/editor.sp>
|
||||
#include <editor/props/base.sp>
|
||||
#include <editor/natives.sp>
|
||||
#include <editor>
|
||||
|
||||
public Plugin myinfo = {
|
||||
name = "L4D2 Hats & Editor",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue