From 01d3be4c6640c3e97ef4b87a08ad40f9e93e6922 Mon Sep 17 00:00:00 2001
From: IcePixelx <41352111+PixieCore@users.noreply.github.com>
Date: Mon, 16 Aug 2021 16:32:28 +0200
Subject: [PATCH] Prebuild event for debug dll.
---
r5dev/r5dev.vcxproj | 3 +--
r5dev/src/CCompanion.cpp | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/r5dev/r5dev.vcxproj b/r5dev/r5dev.vcxproj
index 60de2c64..98699835 100644
--- a/r5dev/r5dev.vcxproj
+++ b/r5dev/r5dev.vcxproj
@@ -151,8 +151,7 @@
Minhook.x64.lib;r5net.lib;%(AdditionalDependencies)
-
-
+ rename "$(TargetPath)" "r5dev.dll"
if not EXIST $(SolutionDir)external\minhook\lib\$(Configuration)\Minhook.x64.lib (
diff --git a/r5dev/src/CCompanion.cpp b/r5dev/src/CCompanion.cpp
index 32de67d6..f9c1ed37 100644
--- a/r5dev/src/CCompanion.cpp
+++ b/r5dev/src/CCompanion.cpp
@@ -7,7 +7,7 @@
#include "CCompanion.h"
#include "r5net.h"
-#define OVERLAY_DEBUG
+//#define OVERLAY_DEBUG
CCompanion* g_ServerBrowser = nullptr;