diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 00:03:44 +0200 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-04-09 17:54:12 +0200 |
commit | 30d4b0adf4f17f05d1d62fc3428c896ef1079b6b (patch) | |
tree | acc6dab5d6894a949df3ab4d913ef72a1b1ebdca /src/gui/ministatus.cpp | |
parent | b499cf0c03f2589d36a1df14c81530347243940a (diff) | |
download | mana-client-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.tar.gz mana-client-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.tar.bz2 mana-client-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.tar.xz mana-client-30d4b0adf4f17f05d1d62fc3428c896ef1079b6b.zip |
Moved Events to Mana::Event::Type
Acked-by: Jared Adams
Diffstat (limited to 'src/gui/ministatus.cpp')
-rw-r--r-- | src/gui/ministatus.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/ministatus.cpp b/src/gui/ministatus.cpp index fae40d03..8093a893 100644 --- a/src/gui/ministatus.cpp +++ b/src/gui/ministatus.cpp @@ -123,7 +123,7 @@ void MiniStatusWindow::event(Channels channel, const Mana::Event &event) { if (channel == CHANNEL_ATTRIBUTES) { - if (event.getName() == EVENT_UPDATEATTRIBUTE) + if (event.getType() == Mana::Event::UpdateAttribute) { int id = event.getInt("id"); if (id == HP || id == MAX_HP) @@ -142,7 +142,7 @@ void MiniStatusWindow::event(Channels channel, const Mana::Event &event) } else if (channel == CHANNEL_ACTORSPRITE) { - if (event.getName() == EVENT_UPDATESTATUSEFFECT) + if (event.getType() == Mana::Event::UpdateStatusEffect) { int index = event.getInt("index"); bool newStatus = event.getBool("newStatus"); |