forked from mirror/openmw-tes3mp
various fixes
This commit is contained in:
parent
6643674b13
commit
d7af9fbec6
2 changed files with 4 additions and 3 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <stdexcept>
|
||||
#include <algorithm>
|
||||
#include <sstream>
|
||||
#include <iterator>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
|
|
@ -13,7 +13,7 @@ namespace MWWorld
|
|||
|
||||
void FailedAction::executeImp (const Ptr& actor)
|
||||
{
|
||||
if ( actor.getRefData().getHandle()=="player" and !(message.empty()))
|
||||
if ( actor.getRefData().getHandle()=="player" && !(message.empty()))
|
||||
{
|
||||
MWBase::Environment::get().getWindowManager() ->messageBox(message, std::vector<std::string>());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue