URL:
  <http://gna.org/bugs/?9345>

                 Summary: Reduce duplication in GetWeaponWinString
                 Project: Wormux
            Submitted by: masterdriverz
            Submitted on: Saturday 06/16/2007 at 21:09
                Category: Display
                Severity: 1 - Wish
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: SVN
         Discussion Lock: Any

    _______________________________________________________

Details:

Currently all GetWeaponWinString's return the format "%s team has won %u
weapon(s)!". This patch changes them to return "((a|an)|%u) weapon(s)", with
the "%s team has won..." logic restricted to object/object_box.cpp.
GetWeaponWinString is renamed to GetWeaponString to reflect the more general
nature of the function.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Saturday 06/16/2007 at 21:09  Name: get_weapon_win_string.patch  Size:
24kB   By: masterdriverz

<http://gna.org/bugs/download.php?file_id=2454>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?9345>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to