Fix DurabilityRepairAll default value

This commit is contained in:
Rochet2
2014-12-18 19:19:34 +02:00
parent f819245308
commit 130735de43

View File

@@ -1567,7 +1567,7 @@ namespace LuaPlayer
int DurabilityRepairAll(Eluna* /*E*/, lua_State* L, Player* player) int DurabilityRepairAll(Eluna* /*E*/, lua_State* L, Player* player)
{ {
bool cost = Eluna::CHECKVAL<bool>(L, 2, true); bool cost = Eluna::CHECKVAL<bool>(L, 2, true);
float discountMod = Eluna::CHECKVAL<float>(L, 3); float discountMod = Eluna::CHECKVAL<float>(L, 3, 1.0f);
bool guildBank = Eluna::CHECKVAL<bool>(L, 4, false); bool guildBank = Eluna::CHECKVAL<bool>(L, 4, false);
#ifdef CLASSIC #ifdef CLASSIC