summaryrefslogtreecommitdiff
path: root/games/openspades/86de4031c6c647b4d74196181f6754486ad1c340.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games/openspades/86de4031c6c647b4d74196181f6754486ad1c340.patch')
-rw-r--r--games/openspades/86de4031c6c647b4d74196181f6754486ad1c340.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/games/openspades/86de4031c6c647b4d74196181f6754486ad1c340.patch b/games/openspades/86de4031c6c647b4d74196181f6754486ad1c340.patch
new file mode 100644
index 0000000000..41e456fd51
--- /dev/null
+++ b/games/openspades/86de4031c6c647b4d74196181f6754486ad1c340.patch
@@ -0,0 +1,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 {