diff --git a/sql/base/world_database.sql b/sql/base/world_database.sql index 88dc144b41..036937cf1e 100644 --- a/sql/base/world_database.sql +++ b/sql/base/world_database.sql @@ -27885,30 +27885,6 @@ LOCK TABLES `vehicle_accessory` WRITE; /*!40000 ALTER TABLE `vehicle_accessory` ENABLE KEYS */; 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 0000000000..748b0f7c07 --- /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 73ec095984..ce193f798f 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) {