diff --git a/server/gameserver/android.cc b/server/gameserver/android.cc index 68fbae7..a6be1e5 100644 --- a/server/gameserver/android.cc +++ b/server/gameserver/android.cc @@ -55,7 +55,7 @@ void Android::GiveEquip() if (weapon_meta) { weapons[kGUN_SLOT1].weapon_idx = kGUN_SLOT1; #if 1 - weapons[kGUN_SLOT1].weapon_id = 12001 + rand() % 11; + weapons[kGUN_SLOT1].weapon_id = weapon_meta->i->id(); weapons[kGUN_SLOT1].weapon_lv = rand() % 3; #else weapons[kGUN_SLOT1].weapon_id = weapon_meta->i->id();