changeset 1637:7b60f5ce1637 0.5.4

- fixed a small bug in the event system
author fusion45
date Fri, 04 Feb 2011 19:52:12 +0000
parents 9420495097a6
children 4b500c4931c2
files src/core/eventsystem.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/core/eventsystem.cpp	Fri Feb 04 12:18:21 2011 +0000
+++ b/src/core/eventsystem.cpp	Fri Feb 04 19:52:12 2011 +0000
@@ -1689,7 +1689,7 @@
 		magic_mods["strength"] = ItemFactory::STRENGTH_MOD;
 		magic_mods["dexterity"] = ItemFactory::DEXTERITY_MOD;
 		magic_mods["willpower"] = ItemFactory::WILLPOWER_MOD;
-		magic_mods["magic_power"] = ItemFactory::MAGIC_MOD;
+		magic_mods["magic_power"] = ItemFactory::MAGIC_POWER_MOD;
 		magic_mods["resist_phys"] = ItemFactory::RESIST_PHYS_MOD;
 		magic_mods["resist_fire"] = ItemFactory::RESIST_FIRE_MOD;
 		magic_mods["resist_ice"] = ItemFactory::RESIST_ICE_MOD;