diff options
author | darkvater <darkvater@openttd.org> | 2004-08-16 18:46:54 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-08-16 18:46:54 +0000 |
commit | 255a1ad941f4f852b65257cf179294ee4f5acdd4 (patch) | |
tree | 78b7848d85aeb8e0b2fcfea40a576585f834d11f /window.c | |
parent | 4587ede35d8ada9f15c1a8ba5e2362cc870c0073 (diff) | |
download | openttd-255a1ad941f4f852b65257cf179294ee4f5acdd4.tar.xz |
(svn r68) -Fix: [1009621] build in pause is now a cheat instead of a patch (truesatan)
-Fix: Placing/editing signs signs is possible in paused mode
Diffstat (limited to 'window.c')
-rw-r--r-- | window.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1013,10 +1013,12 @@ void MouseLoop() } if (click == 1) { + DEBUG(misc, 1) ("cursor: 0x%X (%d)", _cursor.sprite, _cursor.sprite); if (_thd.place_mode != 0 && - _cursor.sprite != 0x2CF && + // query button and place sign button work in pause mode + !(_cursor.sprite == 0x2CF || _cursor.sprite == 0x2D2) && _pause != 0 && - !_patches.build_in_pause) + !_cheats.build_in_pause.value) return; if (_thd.place_mode == 0) { |