diff options
author | alberth <alberth@openttd.org> | 2010-12-30 15:32:31 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-12-30 15:32:31 +0000 |
commit | 661e13a86af45f88bc0fd7d8c045f66ceddd041e (patch) | |
tree | d3665937edc2ba2aefd1f4dfd4372852cf991d1c /src/window.cpp | |
parent | cedb07bba3c885b5812244f02bdf5cee3e9cc05f (diff) | |
download | openttd-661e13a86af45f88bc0fd7d8c045f66ceddd041e.tar.xz |
(svn r21667) -Codechange: Introduce _thd.Reset().
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window.cpp b/src/window.cpp index 3e601d212..4dca8403a 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1366,10 +1366,7 @@ void ResetWindowSystem() { UnInitWindowSystem(); InitWindowSystem(); - _thd.pos.x = 0; - _thd.pos.y = 0; - _thd.new_pos.x = 0; - _thd.new_pos.y = 0; + _thd.Reset(); } static void DecreaseWindowCounters() |