summaryrefslogtreecommitdiff
path: root/src/game-server
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-03-04 18:19:22 +0100
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-03-05 20:25:48 +0100
commit0f913b8c947403557bef8533a2e5779e6ca2bc7b (patch)
tree70696cb22003720e3f3283af45284d0fde679acb /src/game-server
parentd4f9a3370ed27cdae23da6f8c94c68619431cd48 (diff)
downloadmanaserv-0f913b8c947403557bef8533a2e5779e6ca2bc7b.tar.gz
manaserv-0f913b8c947403557bef8533a2e5779e6ca2bc7b.tar.bz2
manaserv-0f913b8c947403557bef8533a2e5779e6ca2bc7b.tar.xz
manaserv-0f913b8c947403557bef8533a2e5779e6ca2bc7b.zip
Added lua function for getting pvp status of map
mana.map_get_pvp() now returns one of the constants in libmana-constants.lua Reviewed-by: Bertram.
Diffstat (limited to 'src/game-server')
-rw-r--r--src/game-server/mapcomposite.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game-server/mapcomposite.h b/src/game-server/mapcomposite.h
index 355f0f46..54334663 100644
--- a/src/game-server/mapcomposite.h
+++ b/src/game-server/mapcomposite.h
@@ -42,8 +42,8 @@ struct MapZone;
enum PvPRules
{
- PVP_NONE, // no PvP on this map
- PVP_FREE // unrestricted PvP on this map
+ PVP_NONE = 0, // no PvP on this map
+ PVP_FREE // unrestricted PvP on this map
// [space for additional PvP modes]
};