Misc fixes.

This commit is contained in:
hondacrx
2022-01-09 14:33:39 -05:00
parent ebb1379d49
commit 595338284c
11 changed files with 37 additions and 83 deletions
+4 -5
View File
@@ -3121,13 +3121,12 @@ namespace Game.Maps
public void SaveRespawnInfoDB(RespawnInfo info, SQLTransaction dbTrans = null)
{
// Just here for support of compatibility mode
PreparedStatement stmt = DB.Characters.GetPreparedStatement(CharStatements.REP_RESPAWN);
stmt.AddValue(0, (ushort)info.type);
stmt.AddValue(0, info.spawnId);
stmt.AddValue(1, info.respawnTime);
stmt.AddValue(2, GetId());
stmt.AddValue(3, GetInstanceId());
stmt.AddValue(1, info.spawnId);
stmt.AddValue(2, info.respawnTime);
stmt.AddValue(3, GetId());
stmt.AddValue(4, GetInstanceId());
DB.Characters.ExecuteOrAppend(dbTrans, stmt);
}