blob: 41e456fd51c377d077b6beab033cf5c3d3ddb52f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
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 {
|