From 59167447ba003984f17615ef7e7725f5ee7a3fc4 Mon Sep 17 00:00:00 2001 From: Robin Eklind Date: Wed, 17 Jul 2019 11:18:45 +0200 Subject: [PATCH] msg: use enum for RSPLTYPE_INVALID in msg.cpp --- Source/msg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/msg.cpp b/Source/msg.cpp index cad78aba0..5bc81520c 100644 --- a/Source/msg.cpp +++ b/Source/msg.cpp @@ -2576,7 +2576,7 @@ DWORD On_NOVA(TCmd *pCmd, int pnum) if (gbBufferMsgs != 1 && currlevel == plr[pnum].plrlevel && pnum != myplr) { ClrPlrPath(pnum); plr[pnum]._pSpell = SPL_NOVA; - plr[pnum]._pSplType = 4; + plr[pnum]._pSplType = RSPLTYPE_INVALID; plr[pnum]._pSplFrom = 3; plr[pnum].destAction = ACTION_SPELL; plr[pnum].destParam1 = p->x;