Fix push and taxi crashes and add new taxi changes

This commit is contained in:
Rochet2
2015-01-24 02:29:11 +02:00
parent 9fe397aaf5
commit e6e4ecdab1
3 changed files with 34 additions and 38 deletions

View File

@@ -656,11 +656,11 @@ void Eluna::Push(lua_State* luastate, const char* str)
}
void Eluna::Push(lua_State* luastate, Pet const* pet)
{
Push(luastate, pet->ToCreature());
Push<Creature>(luastate, pet);
}
void Eluna::Push(lua_State* luastate, TempSummon const* summon)
{
Push(luastate, summon->ToCreature());
Push<Creature>(luastate, summon);
}
void Eluna::Push(lua_State* luastate, Unit const* unit)
{