Skip to content

Commit 91de730

Browse files
XfurrySchmoozerd
authored andcommitted
[2162] Fix compile for MaNGOS Rev 11590
Signed-off-by: Schmoozerd <schmoozerd@scriptdev2.com>
1 parent c25ad8c commit 91de730

5 files changed

Lines changed: 10 additions & 9 deletions

File tree

ScriptMgr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void InitScriptLibrary()
103103
LoadDatabase();
104104

105105
outstring_log("SD2: Loading C++ scripts");
106-
barGoLink bar(1);
106+
BarGoLink bar(1);
107107
bar.step();
108108
outstring_log("");
109109

sd2_revision_nr.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#ifndef __SD2_REVISION_NR_H__
22
#define __SD2_REVISION_NR_H__
3-
#define SD2_REVISION_NR "2161"
3+
#define SD2_REVISION_NR "2162"
44
#endif // __SD2_REVISION_NR_H__

sql/scriptdev2_script_full.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
--
44

55
DELETE FROM sd2_db_version;
6-
INSERT INTO sd2_db_version (version) VALUES ('ScriptDev2 (for MaNGOS 11576+) ');
6+
INSERT INTO sd2_db_version (version) VALUES ('ScriptDev2 (for MaNGOS 11590+) ');
77

88
--
99
-- Below contains data for table `script_texts` mainly used in C++ parts.

sql/updates/r2162_scriptdev2.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UPDATE sd2_db_version SET version='ScriptDev2 (for MaNGOS 11590+) ';

system/system.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void SystemMgr::LoadScriptTexts()
5959

6060
if (pResult)
6161
{
62-
barGoLink bar(pResult->GetRowCount());
62+
BarGoLink bar(pResult->GetRowCount());
6363
uint32 uiCount = 0;
6464

6565
do
@@ -103,7 +103,7 @@ void SystemMgr::LoadScriptTexts()
103103
}
104104
else
105105
{
106-
barGoLink bar(1);
106+
BarGoLink bar(1);
107107
bar.step();
108108
outstring_log("");
109109
outstring_log(">> Loaded 0 additional Script Texts data. DB table `script_texts` is empty.");
@@ -121,7 +121,7 @@ void SystemMgr::LoadScriptTextsCustom()
121121

122122
if (pResult)
123123
{
124-
barGoLink bar(pResult->GetRowCount());
124+
BarGoLink bar(pResult->GetRowCount());
125125
uint32 uiCount = 0;
126126

127127
do
@@ -165,7 +165,7 @@ void SystemMgr::LoadScriptTextsCustom()
165165
}
166166
else
167167
{
168-
barGoLink bar(1);
168+
BarGoLink bar(1);
169169
bar.step();
170170
outstring_log("");
171171
outstring_log(">> Loaded 0 additional Custom Texts data. DB table `custom_texts` is empty.");
@@ -199,7 +199,7 @@ void SystemMgr::LoadScriptWaypoints()
199199

200200
if (pResult)
201201
{
202-
barGoLink bar(pResult->GetRowCount());
202+
BarGoLink bar(pResult->GetRowCount());
203203
uint32 uiNodeCount = 0;
204204

205205
do
@@ -238,7 +238,7 @@ void SystemMgr::LoadScriptWaypoints()
238238
}
239239
else
240240
{
241-
barGoLink bar(1);
241+
BarGoLink bar(1);
242242
bar.step();
243243
outstring_log("");
244244
outstring_log(">> Loaded 0 Script Waypoints. DB table `script_waypoint` is empty.");

0 commit comments

Comments
 (0)