aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/base/world_database.sql24
-rw-r--r--sql/updates/world/2011_06_27_02_world_vehicle_scaling_info.sql1
-rwxr-xr-xsrc/server/game/Entities/Vehicle/Vehicle.cpp2
3 files changed, 2 insertions, 25 deletions
diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql
index 88dc144b418..036937cf1e9 100644
--- a/sql/base/world_database.sql
+++ b/sql/base/world_database.sql
@@ -27886,30 +27886,6 @@ LOCK TABLES `vehicle_accessory` WRITE;
UNLOCK TABLES;
--
--- Table structure for table `vehicle_scaling_info`
---
-
-DROP TABLE IF EXISTS `vehicle_scaling_info`;
-/*!40101 SET @saved_cs_client = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
-CREATE TABLE `vehicle_scaling_info` (
- `entry` mediumint(8) unsigned NOT NULL default '0',
- `baseItemLevel` float NOT NULL default '0',
- `scalingFactor` float NOT NULL default '0',
- PRIMARY KEY (`entry`)
-) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Dumping data for table `vehicle_scaling_info`
---
-
-LOCK TABLES `vehicle_scaling_info` WRITE;
-/*!40000 ALTER TABLE `vehicle_scaling_info` DISABLE KEYS */;
-/*!40000 ALTER TABLE `vehicle_scaling_info` ENABLE KEYS */;
-UNLOCK TABLES;
-
---
-- Table structure for table `version`
--
diff --git a/sql/updates/world/2011_06_27_02_world_vehicle_scaling_info.sql b/sql/updates/world/2011_06_27_02_world_vehicle_scaling_info.sql
new file mode 100644
index 00000000000..748b0f7c07d
--- /dev/null
+++ b/sql/updates/world/2011_06_27_02_world_vehicle_scaling_info.sql
@@ -0,0 +1 @@
+DROP TABLE `vehicle_scaling_info`;
diff --git a/src/server/game/Entities/Vehicle/Vehicle.cpp b/src/server/game/Entities/Vehicle/Vehicle.cpp
index 73ec095984d..ce193f798f0 100755
--- a/src/server/game/Entities/Vehicle/Vehicle.cpp
+++ b/src/server/game/Entities/Vehicle/Vehicle.cpp
@@ -27,7 +27,7 @@
#include "CreatureAI.h"
#include "ZoneScript.h"
-Vehicle::Vehicle(Unit* unit, VehicleEntry const* vehInfo, uint32 creatureEntry) : _me(unit), _vehicleInfo(vehInfo), _usableSeatNum(0), m_bonusHP(0), _creatureEntry(creatureEntry)
+Vehicle::Vehicle(Unit* unit, VehicleEntry const* vehInfo, uint32 creatureEntry) : _me(unit), _vehicleInfo(vehInfo), _usableSeatNum(0), _creatureEntry(creatureEntry)
{
for (uint32 i = 0; i < MAX_VEHICLE_SEATS; ++i)
{