From 2591f115042f81edcea6e1dd7078f513b8f64554 Mon Sep 17 00:00:00 2001 From: VladimirMangos Date: Sat, 19 Feb 2011 10:47:18 +0300 Subject: [PATCH] [11189] Skip BGs also (in addition to arenas) in InstanceData::SaveToDB --- src/game/InstanceData.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/InstanceData.cpp b/src/game/InstanceData.cpp index 2c7ddb5b2..c4d310349 100644 --- a/src/game/InstanceData.cpp +++ b/src/game/InstanceData.cpp @@ -24,7 +24,7 @@ void InstanceData::SaveToDB() { // no reason to save BGs/Arenas - if (instance->IsBattleArena()) + if (instance->IsBattleGroundOrArena()) return; if (!Save()) diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 1a11963aa..f9b082e1b 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "11188" + #define REVISION_NR "11189" #endif // __REVISION_NR_H__