(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
This commit is contained in:
darkvater
2004-08-16 18:46:54 +00:00
parent 4587ede35d
commit 255a1ad941
20 changed files with 43 additions and 35 deletions

View File

@@ -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) {