summaryrefslogtreecommitdiff
path: root/src/resources/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-06-06 22:41:39 +0300
committerAndrei Karas <akaras@inbox.ru>2014-06-07 02:07:03 +0300
commita51da75e329df773a01e963c3a27e72cf487138c (patch)
treec48d7c682be1104138dd16daa75fd12a3fcae82b /src/resources/map
parent4f7e38d218848bd34bd86dda75446881dad2bb32 (diff)
downloadmanaverse-a51da75e329df773a01e963c3a27e72cf487138c.tar.gz
manaverse-a51da75e329df773a01e963c3a27e72cf487138c.tar.bz2
manaverse-a51da75e329df773a01e963c3a27e72cf487138c.tar.xz
manaverse-a51da75e329df773a01e963c3a27e72cf487138c.zip
fix code style.
Diffstat (limited to 'src/resources/map')
-rw-r--r--src/resources/map/map.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index c36065087..7ba798319 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -24,7 +24,6 @@
#include "configuration.h"
#include "render/graphics.h"
-#include "notifications.h"
#include "notifymanager.h"
#include "settings.h"
@@ -44,6 +43,7 @@
#include "resources/ambientlayer.h"
#include "resources/image.h"
#include "resources/mapitemtype.h"
+#include "resources/notifytypes.h"
#include "resources/resourcemanager.h"
#include "resources/subimage.h"
@@ -1198,19 +1198,19 @@ void Map::setPvpMode(const int mode)
switch (mPvp)
{
case 0:
- NotifyManager::notify(NotifyManager::PVP_OFF_GVG_OFF);
+ NotifyManager::notify(NotifyTypes::PVP_OFF_GVG_OFF);
break;
case 1:
- NotifyManager::notify(NotifyManager::PVP_ON);
+ NotifyManager::notify(NotifyTypes::PVP_ON);
break;
case 2:
- NotifyManager::notify(NotifyManager::GVG_ON);
+ NotifyManager::notify(NotifyTypes::GVG_ON);
break;
case 3:
- NotifyManager::notify(NotifyManager::PVP_ON_GVG_ON);
+ NotifyManager::notify(NotifyTypes::PVP_ON_GVG_ON);
break;
default:
- NotifyManager::notify(NotifyManager::PVP_UNKNOWN);
+ NotifyManager::notify(NotifyTypes::PVP_UNKNOWN);
break;
}
}