~ubuntu-branches/ubuntu/vivid/nethack/vivid

« back to all changes in this revision

Viewing changes to src/detect.c

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng, Bernhard R. Link, Vincent Cheng
  • Date: 2012-06-11 00:47:38 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20120611004738-3fy8b3wi0j45y2oq
Tags: 3.4.3-14
* Team upload.

[ Bernhard R. Link ]
* switch to "3.0 (quilt)"
* bump Standards-Version
* modernize debian/rules:
- use dpkg-buildflags
- support build-arch/-indep
- make parallel safe
- don't avoid make errors
* add patch so it can compile with -Werror=format-security
* drop no longer needed patches (-qt and -gnome are gone)
* don't use /dev/null as install template (Closes: 644647)
* drop nethack-common menu (both -console and -x11 have one)

[ Vincent Cheng ]
* Adopt package. (Closes: #673584)
  - Change Maintainer to Debian Games Team.
  - Add myself to Uploaders.
* Modify 0006-Common-config.h-for-all-binary-packages.patch to enable
  AUTOPICKUP_EXCEPTIONS. (Closes: #329318)
* Modify 0011-Pasi-Kallinen-s-patch-to-add-colors-to-inventory-ite.patch
  and 0017-Debian-and-Linux-specifics-defined-in-unixconf.h.patch; add
  0021-fix-kfreebsd-ftbfs.patch to fix FTBFS on kfreebsd.
* Convert debian/copyright to DEP-5 machine-readable format.
* Use dh_lintian to install overrides instead of manually installing them
  in debian/rules.
* Add watch file.
* Add Homepage field in debian/control.
* Add Vcs-* fields in debian/control.

Show diffs side-by-side

added added

removed removed

Lines of Context:
808
808
        case 3 : if (!resists_blnd(&youmonst)) {
809
809
                pline("%s your vision!", Tobjnam(obj, "damage"));
810
810
                make_blinded(Blinded + rnd(100),FALSE);
811
 
                if (!Blind) Your(vision_clears);
 
811
                if (!Blind) Your("%s", vision_clears);
812
812
            } else {
813
813
                pline("%s your vision.", Tobjnam(obj, "assault"));
814
814
                You("are unaffected!");
857
857
    ch = yn_function("What do you look for?", (char *)0, '\0');
858
858
    /* Don't filter out ' ' here; it has a use */
859
859
    if ((ch != def_monsyms[S_GHOST]) && index(quitchars,ch)) { 
860
 
        if (flags.verbose) pline(Never_mind);
 
860
        if (flags.verbose) plines(Never_mind);
861
861
        return;
862
862
    }
863
863
    You("peer into %s...", the(xname(obj)));