From c593adb7fb0dffc62f1311e6c52f25bfafcdf0f4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 29 May 2015 23:24:05 +0300 Subject: Convert BeingAction enum into strong typed enum. --- src/gui/windows/charcreatedialog.cpp | 2 +- src/gui/windows/npcdialog.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows') diff --git a/src/gui/windows/charcreatedialog.cpp b/src/gui/windows/charcreatedialog.cpp index f37749756..8ccd127c6 100644 --- a/src/gui/windows/charcreatedialog.cpp +++ b/src/gui/windows/charcreatedialog.cpp @@ -55,7 +55,7 @@ #undef ERROR -static const BeingAction::Action actions[] = +static const BeingActionT actions[] = { BeingAction::STAND, BeingAction::SIT, diff --git a/src/gui/windows/npcdialog.cpp b/src/gui/windows/npcdialog.cpp index ebc716d0f..de485d6f1 100644 --- a/src/gui/windows/npcdialog.cpp +++ b/src/gui/windows/npcdialog.cpp @@ -920,7 +920,7 @@ void NpcDialog::setAvatarAction(const int actionId) { Being *const being = mPlayerBox->getBeing(); if (being) - being->setAction(static_cast(actionId), 0); + being->setAction(static_cast(actionId), 0); } void NpcDialog::logic() -- cgit v1.2.3-70-g09d2