Core/Vehicles: Final stage of vehicle stat scaling table removal

This commit is contained in:
Machiavelli
2011-06-27 15:20:26 +02:00
parent ad1777229f
commit 23b9a31229
3 changed files with 2 additions and 25 deletions
-24
View File
@@ -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`
--
@@ -0,0 +1 @@
DROP TABLE `vehicle_scaling_info`;
+1 -1
View File
@@ -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)
{