Fix GetHonorStoredKills and NearTeleport return values
Corrected line indent
This commit is contained in:
@@ -235,7 +235,7 @@ namespace LuaPlayer
|
||||
bool honorable = Eluna::CHECKVAL<bool>(L, 2, true);
|
||||
|
||||
Eluna::Push(L, player->GetHonorStoredKills(honorable));
|
||||
return 0;
|
||||
return 1;
|
||||
}
|
||||
|
||||
int GetRankPoints(Eluna* /*E*/, lua_State* L, Player* player)
|
||||
|
||||
@@ -1220,7 +1220,7 @@ namespace LuaUnit
|
||||
#else
|
||||
unit->SetControlled(apply, UNIT_STATE_CONFUSED);
|
||||
#endif
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -1699,7 +1699,7 @@ namespace LuaUnit
|
||||
float o = Eluna::CHECKVAL<float>(L, 5);
|
||||
|
||||
unit->NearTeleportTo(x, y, z, o);
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user