mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-05 00:55:44 +01:00
f53a4f0e29
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
49 lines
1.3 KiB
Diff
49 lines
1.3 KiB
Diff
From 0ac59fdbae2c6e496b28b4fc01b52a02622e8146 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Walladge <samuel@swalladge.id.au>
|
|
Date: Mon, 7 Mar 2016 09:37:15 +1030
|
|
Subject: [PATCH] fixed isnan not declared
|
|
|
|
---
|
|
Sources/Client/Client_Input.cpp | 1 +
|
|
Sources/Client/Corpse.cpp | 2 ++
|
|
Sources/Draw/SWMapRenderer.cpp | 2 ++
|
|
3 files changed, 5 insertions(+)
|
|
|
|
diff --git a/Sources/Client/Client_Input.cpp b/Sources/Client/Client_Input.cpp
|
|
index d30861b..917719e 100644
|
|
--- a/Sources/Client/Client_Input.cpp
|
|
+++ b/Sources/Client/Client_Input.cpp
|
|
@@ -38,6 +38,7 @@
|
|
|
|
#include "NetClient.h"
|
|
|
|
+using namespace std;
|
|
|
|
SPADES_SETTING(cg_mouseSensitivity, "1");
|
|
SPADES_SETTING(cg_zoomedMouseSensScale, "0.6");
|
|
diff --git a/Sources/Client/Corpse.cpp b/Sources/Client/Corpse.cpp
|
|
index 1376926..b3eb455 100644
|
|
--- a/Sources/Client/Corpse.cpp
|
|
+++ b/Sources/Client/Corpse.cpp
|
|
@@ -27,6 +27,8 @@
|
|
#include "../Core/Debug.h"
|
|
#include "../Core/Settings.h"
|
|
|
|
+using namespace std;
|
|
+
|
|
SPADES_SETTING(r_corpseLineCollision, "1");
|
|
|
|
namespace spades {
|
|
diff --git a/Sources/Draw/SWMapRenderer.cpp b/Sources/Draw/SWMapRenderer.cpp
|
|
index c2e310b..0e47b7b 100644
|
|
--- a/Sources/Draw/SWMapRenderer.cpp
|
|
+++ b/Sources/Draw/SWMapRenderer.cpp
|
|
@@ -31,6 +31,8 @@
|
|
#include "SWUtils.h"
|
|
#include <cstdint>
|
|
|
|
+using namespace std;
|
|
+
|
|
SPADES_SETTING(r_swUndersampling, "0");
|
|
|
|
namespace spades {
|