summaryrefslogtreecommitdiff
path: root/src/simulation/Simulation.cpp
diff options
context:
space:
mode:
authorntoskrnl <ntoskrnl11@yahoo.com>2012-07-29 16:14:14 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-02 14:21:16 (GMT)
commitf94fabd999c304de958cc051e9625f169cec138f (patch)
tree9ee58bc33bd745afa32b0d57b413cc7a555cd545 /src/simulation/Simulation.cpp
parent87dfc47c9785f834e61eef4545c503071d1665fc (diff)
downloadpowder-f94fabd999c304de958cc051e9625f169cec138f.zip
powder-f94fabd999c304de958cc051e9625f169cec138f.tar.gz
Rename WIN32 preprocessor definition to WIN
Diffstat (limited to 'src/simulation/Simulation.cpp')
-rw-r--r--src/simulation/Simulation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp
index 2ac72b2..f1bea94 100644
--- a/src/simulation/Simulation.cpp
+++ b/src/simulation/Simulation.cpp
@@ -3829,7 +3829,7 @@ killed:
if (!parts[i].vx&&!parts[i].vy)//if its not moving, skip to next particle, movement code it next
continue;
-#if defined(WIN32) && !defined(__GNUC__)
+#if defined(WIN) && !defined(__GNUC__)
mv = max(fabsf(parts[i].vx), fabsf(parts[i].vy));
#else
mv = fmaxf(fabsf(parts[i].vx), fabsf(parts[i].vy));