diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/popupmenu.cpp | 2 | ||||
-rw-r--r-- | src/gui/socialwindow.cpp | 2 | ||||
-rw-r--r-- | src/gui/widgets/avatarlistbox.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/popupmenu.cpp b/src/gui/popupmenu.cpp index ad0cb275f..e81a7ebbb 100644 --- a/src/gui/popupmenu.cpp +++ b/src/gui/popupmenu.cpp @@ -1730,7 +1730,7 @@ void PopupMenu::showAttackMonsterPopup(int x, int y, std::string name, "@@attack remove|%s@@", _("Remove"))); break; } - case MapItem::IGNORE: + case MapItem::IGNORE_: mBrowserBox->addRow(strprintf( "@@attack remove|%s@@", _("Remove"))); break; diff --git a/src/gui/socialwindow.cpp b/src/gui/socialwindow.cpp index d25ca209d..2276f60e0 100644 --- a/src/gui/socialwindow.cpp +++ b/src/gui/socialwindow.cpp @@ -914,7 +914,7 @@ public: Avatar *ava = new Avatar(name); ava->setOnline(false); ava->setLevel(level); - ava->setType(MapItem::IGNORE); + ava->setType(MapItem::IGNORE_); ava->setX(0); ava->setY(0); avatars->push_back(ava); diff --git a/src/gui/widgets/avatarlistbox.cpp b/src/gui/widgets/avatarlistbox.cpp index 8ad6fff2e..c1025e66d 100644 --- a/src/gui/widgets/avatarlistbox.cpp +++ b/src/gui/widgets/avatarlistbox.cpp @@ -327,7 +327,7 @@ void AvatarListBox::mousePressed(gcn::MouseEvent &event) } case MapItem::ATTACK: case MapItem::PRIORITY: - case MapItem::IGNORE: + case MapItem::IGNORE_: { std::string name; if (model->getAvatarAt(selected)->getLevel() == 0) |