From ec21450522e3c2124f3510eef5cfd88420483248 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 26 Jun 2014 18:18:01 -0700 Subject: Low hanging fruit --- src/map/magic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/magic.cpp') diff --git a/src/map/magic.cpp b/src/map/magic.cpp index 2cfa1e4..ff4a278 100644 --- a/src/map/magic.cpp +++ b/src/map/magic.cpp @@ -97,11 +97,11 @@ int magic_message(dumb_ptr caster, XString source_invocation) if (bool(spell->flags & SPELL_FLAG::NONMAGIC) || (power >= 1)) effects = spell_trigger(spell, caster, env, &near_miss); else - effects = NULL; + effects = nullptr; #ifdef DEBUG FPRINTF(stderr, "Found spell `%s', triggered = %d\n"_fmt, spell_, - effects != NULL); + effects != nullptr); #endif MAP_LOG_PC(caster, "CAST %s %s"_fmt, -- cgit v1.2.3-60-g2f50