summaryrefslogtreecommitdiff
path: root/src/thread/thread_os2.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-02-16 21:47:00 +0000
committerfrosch <frosch@openttd.org>2014-02-16 21:47:00 +0000
commitfe03ab06e5e143fba1afb6f3389beb226583caa9 (patch)
tree6089d8c94c6a686090b9cd3f0368e3b07ee3a655 /src/thread/thread_os2.cpp
parent7ac18c0f22bcd62feede693be2617264eb5decf6 (diff)
downloadopenttd-fe03ab06e5e143fba1afb6f3389beb226583caa9.tar.xz
(svn r26350) -Fix (r26349): Silly bugs are silly.
Diffstat (limited to 'src/thread/thread_os2.cpp')
-rw-r--r--src/thread/thread_os2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/thread/thread_os2.cpp b/src/thread/thread_os2.cpp
index 56f86275d..a6aa944b6 100644
--- a/src/thread/thread_os2.cpp
+++ b/src/thread/thread_os2.cpp
@@ -133,7 +133,7 @@ public:
this->EndCritical();
DosWaitEventSem(event, SEM_INDEFINITE_WAIT);
this->BeginCritical();
- this->recursive_count = this->recursive_count;
+ this->recursive_count = old_recursive_count;
}
/* virtual */ void SendSignal()