Skip to content

Commit 2aac497

Browse files
committed
update(signatures): Remove unused functions
1 parent dad683b commit 2aac497

File tree

2 files changed

+4
-10
lines changed

2 files changed

+4
-10
lines changed

plugin_files/gamedata/cs2/core/signatures.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -79,16 +79,6 @@
7979
"windows": "48 ? ? 55 53 56 57 41 ? 48 ? ? ? 48 ? ? ? ? ? ? 4C 89 68",
8080
"linux": "55 48 89 E5 41 57 41 56 49 89 FE 41 55 41 54 53 48 83 EC 58 E8"
8181
},
82-
"CBaseEntity_EmitSoundFilter": {
83-
"lib": "server",
84-
"windows": "4C 8B DC 49 89 5B ? 49 89 6B ? 49 89 73 ? 49 89 7B ? 41 56 48 83 EC ? 49 C7 43 ? ? ? ? ? 48 8D 05 ? ? ? ? 49 89 43 ? 41 8B F8",
85-
"linux": "55 48 8D 05 ? ? ? ? 48 89 E5 41 57 49 89 CF 41 56 41 89 D6"
86-
},
87-
"CBaseEntity_EmitSoundParams": {
88-
"lib": "server",
89-
"windows": "48 89 5C 24 ? 48 89 74 24 ? 48 89 7C 24 ? 4C 89 74 24 ? 55 48 8D 6C 24 ? 48 81 EC ? ? ? ? 45 33 F6 48 C7 45",
90-
"linux": "48 B8 ? ? ? ? ? ? ? ? 55 0F 28 D0"
91-
},
9282
"CGameRules_TerminateRound": {
9383
"lib": "server",
9484
"windows": "48 8B C4 4C 89 48 ? 48 89 48 ? 55 56",

src/network/soundevents/soundevent.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,10 @@ uint32_t Soundevent::Emit()
7373

7474
g_pGameEventSystem->PostEventAbstract(-1, false, &this->clients, pNetMsg, data, 0);
7575

76+
#ifndef _WIN32
77+
delete data;
78+
#endif
79+
7680
return guid;
7781
}
7882

0 commit comments

Comments
 (0)