mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +00:00
Update command.cpp
This commit is contained in:
parent
26255b79db
commit
ffa8e5ff62
@ -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];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user