summaryrefslogtreecommitdiff
path: root/src/npc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/npc.cpp')
-rw-r--r--src/npc.cpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/npc.cpp b/src/npc.cpp
index a6d60dbb..630316e0 100644
--- a/src/npc.cpp
+++ b/src/npc.cpp
@@ -1,9 +1,8 @@
/*
- * Aethyra
+ * The Mana World
* Copyright (C) 2004 The Mana World Development Team
*
- * This file is part of Aethyra based on original code
- * from The Mana World.
+ * This file is part of The Mana World.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,7 +33,7 @@
#include "resources/npcdb.h"
-bool NPC::mTalking = false;
+bool NPC::isTalking = false;
int current_npc = 0;
static const int NAME_X_OFFSET = 15;
@@ -110,10 +109,9 @@ Being::Type NPC::getType() const
void NPC::talk()
{
- if (mTalking || !mNetwork)
- return;
+ if (isTalking || !mNetwork) return;
- mTalking = true;
+ isTalking = true;
MessageOut outMsg(mNetwork);
outMsg.writeInt16(CMSG_NPC_TALK);
outMsg.writeInt32(mId);