summaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-apps_openmw_mwmechanics_spells.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'games/openmw/files/patch-apps_openmw_mwmechanics_spells.cpp')
-rw-r--r--games/openmw/files/patch-apps_openmw_mwmechanics_spells.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/openmw/files/patch-apps_openmw_mwmechanics_spells.cpp b/games/openmw/files/patch-apps_openmw_mwmechanics_spells.cpp
new file mode 100644
index 000000000000..5af0a04f8c54
--- /dev/null
+++ b/games/openmw/files/patch-apps_openmw_mwmechanics_spells.cpp
@@ -0,0 +1,11 @@
+--- apps/openmw/mwmechanics/spells.cpp.orig 2015-11-24 02:42:35 UTC
++++ apps/openmw/mwmechanics/spells.cpp
+@@ -29,7 +29,7 @@ namespace MWMechanics
+ {
+ if (mSpells.find (spell->mId)==mSpells.end())
+ {
+- std::map<const int, float> random;
++ std::map<int, float> random;
+
+ // Determine the random magnitudes (unless this is a castable spell, in which case
+ // they will be determined when the spell is cast)