Ru-MaNGOS

Ru-MaNGOS (http://mangos.ytdb.ru/index.php)
-   Принятые патчи (http://mangos.ytdb.ru/forumdisplay.php?f=5)
-   -   [Fix] Load bar step for Calendar::LoadCalendarsFromDB() (http://mangos.ytdb.ru/showthread.php?t=7228)

Den 21.06.2013 21:37

[Fix] Load bar step for Calendar::LoadCalendarsFromDB()
 
Код:

diff --git a/src/game/Calendar.cpp b/src/game/Calendar.cpp
index 460d03b..9fe25cf 100644
--- a/src/game/Calendar.cpp
+++ b/src/game/Calendar.cpp
@@ -580,6 +580,7 @@ void CalendarMgr::LoadCalendarsFromDB()
        do
        {
            Field* field = eventsQuery->Fetch();
+            bar.step();
 
            uint64 eventId        = field[0].GetUInt64();
 
@@ -634,6 +635,7 @@ void CalendarMgr::LoadCalendarsFromDB()
            do
            {
                Field* field = invitesQuery->Fetch();
+                bar.step();
 
                uint64 inviteId            = field[0].GetUInt64();
                uint64 eventId              = field[1].GetUInt64();
diff --git a/src/game/Unit.h b/src/game/Unit.h
index 1cd0888..957a873 100644
--- a/src/game/Unit.h
+++ b/src/game/Unit.h
@@ -478,8 +478,6 @@ enum UnitMoveType
 
 #define MAX_MOVE_TYPE    9
 
-extern float baseMoveSpeed[MAX_MOVE_TYPE];
-
 enum CombatRating
 {
    CR_WEAPON_SKILL            = 0,


schmoozerd 07.08.2013 13:28

in 12533. Thank you!
(Sorry for the delay)


Текущее время: 15:52. Часовой пояс GMT +3.

ru-mangos.ru - Русское сообщество MaNGOS