Update npc_types table.

- d_meele_texture1 -> d_melee_texture1
- d_meele_texture2 -> d_melee_texture2
- Required SQL: 2014_12_24_npc_types_update.sql
This commit is contained in:
Kinglykrab
2014-12-24 01:26:07 -05:00
parent 3bb816ad1d
commit 1329a2f9ba
16 changed files with 49 additions and 46 deletions
+2 -2
View File
@@ -6732,7 +6732,7 @@ void command_npcedit(Client *c, const Seperator *sep)
c->Message(15,"NPCID %u will have item graphic %i set to his primary on repop.",
npcTypeID, atoi(sep->arg[2]));
std::string query = StringFormat("UPDATE npc_types SET d_meele_texture1 = %i WHERE id = %i",
std::string query = StringFormat("UPDATE npc_types SET d_melee_texture1 = %i WHERE id = %i",
atoi(sep->argplus[2]), npcTypeID);
database.QueryDatabase(query);
c->LogSQL(query.c_str());
@@ -6743,7 +6743,7 @@ void command_npcedit(Client *c, const Seperator *sep)
c->Message(15,"NPCID %u will have item graphic %i set to his secondary on repop.",
npcTypeID, atoi(sep->arg[2]));
std::string query = StringFormat("UPDATE npc_types SET d_meele_texture2 = %i WHERE id = %i",
std::string query = StringFormat("UPDATE npc_types SET d_melee_texture2 = %i WHERE id = %i",
atoi(sep->argplus[2]), npcTypeID);
database.QueryDatabase(query);
c->LogSQL(query.c_str());