Spells via shared memory work, removal of blah, general fixes

This commit is contained in:
KimLS
2013-02-19 22:20:30 -08:00
parent acecff23f4
commit f8bae86082
17 changed files with 25 additions and 570 deletions
+1 -2
View File
@@ -85,7 +85,6 @@ Copyright (C) 2001-2002 EQEMu Development Team (http://eqemu.org)
#include <stdlib.h>
#include "unix.h"
#endif
extern bool spells_loaded;
///////////////////////////////////////////////////////////////////////////////
// spell property testing functions
@@ -460,7 +459,7 @@ bool IsValidSpell(uint32 spellid)
{
return
(
spells_loaded &&
SPDAT_RECORDS > 0 &&
spellid != 0 &&
spellid != 1 &&
spellid != 0xFFFFFFFF &&