CleverRaven/Cataclysm-DDA — pull request #1995 by placeybordeaux (2013-07-09 15:09:55+00:00)
Title: Added new add msg function, code base reduction

I have added add_msg_action which attempts to take an action and a player object and reliably produce the right string if that player is the user or an NPC.

This reduces the code base size and removes most of the reliance on p->is_npc() for text display purposes.

I also added game::u_see(player *p) for simplicity sake.