summaryrefslogtreecommitdiff
path: root/src/map/magic.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-04-22 11:46:23 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-04-22 13:20:52 -0700
commitad049a15b43b7ddba3fe7d0a898652fc8022629d (patch)
tree142624e70ead3e89a8da6d56de41651f171524d0 /src/map/magic.hpp
parentceeda2e337077b2edaf1af09cc4df2c30e8205a1 (diff)
downloadtmwa-ad049a15b43b7ddba3fe7d0a898652fc8022629d.tar.gz
tmwa-ad049a15b43b7ddba3fe7d0a898652fc8022629d.tar.bz2
tmwa-ad049a15b43b7ddba3fe7d0a898652fc8022629d.tar.xz
tmwa-ad049a15b43b7ddba3fe7d0a898652fc8022629d.zip
Use strict ID types
Possibly some missing for the far side of the network. AccountId and BlockId are still terribly entangled.
Diffstat (limited to 'src/map/magic.hpp')
-rw-r--r--src/map/magic.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/map/magic.hpp b/src/map/magic.hpp
index a5a966c..7a1a6e0 100644
--- a/src/map/magic.hpp
+++ b/src/map/magic.hpp
@@ -20,7 +20,7 @@
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
-# include "../sanity.hpp"
+# include "fwd.hpp"
# include "../strings/fwd.hpp"
@@ -59,7 +59,7 @@ void magic_unshroud(dumb_ptr<map_session_data> character);
* \param sc_id ID of the status change entry that finished
* \param supplanted Whether the status_change finished normally (0) or was supplanted by a new status_change (1)
*/
-void spell_effect_report_termination(int invocation, int bl_id,
+void spell_effect_report_termination(BlockId invocation, BlockId bl_id,
StatusChange sc_id, int supplanted);
/**
@@ -97,7 +97,7 @@ void magic_stop_completely(dumb_ptr<map_session_data> c);
*
* Returns 0 if there is no charged spell or the spell is depleted.
*/
-int spell_attack(int caster, int target);
+int spell_attack(BlockId caster, BlockId target);
void spell_free_invocation(dumb_ptr<invocation> invocation);