summaryrefslogtreecommitdiff
path: root/src/gui/windows/npcdialog.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-23 04:04:00 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-23 04:04:00 +0300
commit45a17142524b79254b0b87a8385ee36cbfac79ce (patch)
tree04865c94ae41a9740dc4a52f693cbd830f4c125d /src/gui/windows/npcdialog.cpp
parent7e8f6e26d5e2d1c560092cf72bc4f7f98f7fba07 (diff)
downloadmanaverse-45a17142524b79254b0b87a8385ee36cbfac79ce.tar.gz
manaverse-45a17142524b79254b0b87a8385ee36cbfac79ce.tar.bz2
manaverse-45a17142524b79254b0b87a8385ee36cbfac79ce.tar.xz
manaverse-45a17142524b79254b0b87a8385ee36cbfac79ce.zip
Fix code style.
Diffstat (limited to 'src/gui/windows/npcdialog.cpp')
-rw-r--r--src/gui/windows/npcdialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp
index 90fbebebc..e89700e5b 100644
--- a/src/gui/windows/npcdialog.cpp
+++ b/src/gui/windows/npcdialog.cpp
@@ -647,7 +647,7 @@ void NpcDialog::action(const ActionEvent &event)
{
if (cmd == *it)
{
- npcHandler->listInput(mNpcId, cnt + 1);
+ npcHandler->listInput(mNpcId, CAST_U8(cnt + 1));
printText = mItems[cnt];
if (mInputState != NPC_INPUT_ITEM &&