RHTM |
Posted: Sat 14:59, 07 Apr 2007 Post subject: [7.6][c++] Niekonczace sie bolty - wersja z config.lua |
|
w game.cpp znalesc trzeba
Code: |
if(damagetype != FIGHT_MELEE && player) {
player->removeDistItem();
} |
i zamienic na
Code: |
if(damagetype != FIGHT_MELEE && player && g_config.getGlobalString("bolts") == "yes") {
player->removeDistItem();
} |
w config.lua dodac
Code: |
--bolty maja sie konczyc? (yes/no)
bolts = "no" |
Kod by Palladineq |
|