summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2014-11-19 11:33:15 -0300
committerJuan Linietsky <reduzio@gmail.com>2014-11-19 11:33:15 -0300
commite709468bb13e795cff72b3e87198c61c5b1a2ee7 (patch)
tree11d4a855259498bdaf10719199b506034a802536 /platform
parentd5cb758d36035fc35e960a466d0b370ff19e4f76 (diff)
missing navmesh demo and small fixes
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/os_windows.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 19bf324916..8eb5746948 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -1494,7 +1494,7 @@ OS::Date OS_Windows::get_date() const {
OS::Time OS_Windows::get_time() const {
SYSTEMTIME systemtime;
- GetSystemTime(&systemtime);
+ GetLocalTime(&systemtime);
Time time;
time.hour=systemtime.wHour;