Skip to content

Commit 71dde63

Browse files
committed
Improve vs-chromium-project.txt. Fix warnings. Sync RakNet.
1 parent bda7a54 commit 71dde63

File tree

4 files changed

+35
-6
lines changed

4 files changed

+35
-6
lines changed

Server/Components/TextDraws/textdraws_main.cpp

-4
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,6 @@ class PlayerTextDrawData final : public IPlayerTextDrawData {
5757

5858
void freeExtension() override
5959
{
60-
/// Detach player from player textdraws so they don't try to send an RPC
61-
for (IPlayerTextDraw* textDraw : storage) {
62-
PlayerTextDraw* td = static_cast<PlayerTextDraw*>(textDraw);
63-
}
6460
delete this;
6561
}
6662

Server/Source/core_impl.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ class Core final : public ICore, public PlayerEventHandler, public ConsoleEventH
733733
}
734734
ComponentEntryPoint_t OnComponentLoad = reinterpret_cast<ComponentEntryPoint_t>(LIBRARY_GET_ADDR(componentLib, "ComponentEntryPoint"));
735735
if (OnComponentLoad == nullptr) {
736-
void* isSAMPPlugin = LIBRARY_GET_ADDR(componentLib, "Supports");
736+
void* isSAMPPlugin = reinterpret_cast<void*>(LIBRARY_GET_ADDR(componentLib, "Supports"));
737737
printLn(
738738
"\tFailed to load component: %s.",
739739
isSAMPPlugin

vs-chromium-project.txt

+33
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,39 @@
1313
[SearchableFiles.ignore]
1414
build/
1515
.git/
16+
*.log
17+
*.pdb
18+
*.obj
19+
# clang compiler (see https://reviews.llvm.org/D36238)
20+
*.obj-*
21+
*.pack
22+
*.pch
23+
# clang compiler (see https://reviews.llvm.org/D36238)
24+
*.pch-*
25+
*.lib
26+
*.ilk
27+
*.exe
28+
*.dll
29+
*.sdf
30+
*.opensdf
31+
*.o
32+
*.7z
33+
*.pak
34+
*.nexe
35+
*.res
36+
*.tgz
37+
*.gz
38+
*.mo
39+
*.so
40+
*.so.*
41+
*.gif
42+
*.png
43+
*.jpg
44+
*.jpeg
45+
*.ogg
46+
*.ex_
47+
*.mp4
48+
*.ac3
1649

1750
[SearchableFiles.include]
1851
*

0 commit comments

Comments
 (0)