diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-07-23 23:55:41 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-08-05 17:41:35 -0700 |
commit | a7f64f0b39cb7141f16608c171b20bee452fd024 (patch) | |
tree | 6ceb293db3488161d4d5a620536560506e63134f /src/map/magic-interpreter-base.hpp | |
parent | 7abac74323e2566173ea586e9acadac1ebf59098 (diff) | |
download | tmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.tar.gz tmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.tar.bz2 tmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.tar.xz tmwa-a7f64f0b39cb7141f16608c171b20bee452fd024.zip |
In magic, use Variant for all the old anonymous nested unions
Diffstat (limited to 'src/map/magic-interpreter-base.hpp')
-rw-r--r-- | src/map/magic-interpreter-base.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/magic-interpreter-base.hpp b/src/map/magic-interpreter-base.hpp index 8c05df0..4bb41a0 100644 --- a/src/map/magic-interpreter-base.hpp +++ b/src/map/magic-interpreter-base.hpp @@ -64,11 +64,11 @@ void magic_free_env(dumb_ptr<env_t> env); /** * near_miss is set to nonzero iff the spell only failed due to ephemereal issues (spell delay in effect, out of mana, out of components) */ -effect_set_t *spell_trigger(dumb_ptr<spell_t> spell, +const effect_set_t *spell_trigger(dumb_ptr<spell_t> spell, dumb_ptr<map_session_data> caster, dumb_ptr<env_t> env, int *near_miss); -dumb_ptr<invocation> spell_instantiate(effect_set_t *effect, dumb_ptr<env_t> env); +dumb_ptr<invocation> spell_instantiate(const effect_set_t *effect, dumb_ptr<env_t> env); /** * Bind a spell to a subject (this is a no-op for `local' spells). |