Update command.cpp

This commit is contained in:
KinglyKrab 2014-05-05 15:58:36 -04:00
parent 26255b79db
commit ffa8e5ff62

View File

@ -6833,7 +6833,7 @@ void command_npcedit(Client *c, const Seperator *sep)
database.RunQuery(query, MakeAnyLenString(&query, "update npc_types set special_abilities='%s' where id=%i",(sep->argplus[2]),c->GetTarget()->CastToNPC()->GetNPCTypeID()), errbuf); database.RunQuery(query, MakeAnyLenString(&query, "update npc_types set special_abilities='%s' where id=%i",(sep->argplus[2]),c->GetTarget()->CastToNPC()->GetNPCTypeID()), errbuf);
c->LogSQL(query); c->LogSQL(query);
safe_delete_array(query); safe_delete_array(query);
}special_abilities }
else if ( strcasecmp( sep->arg[1], "spell" ) == 0 ) else if ( strcasecmp( sep->arg[1], "spell" ) == 0 )
{ {
char errbuf[MYSQL_ERRMSG_SIZE]; char errbuf[MYSQL_ERRMSG_SIZE];