fix accidental redefinition

This commit is contained in:
Enno Rehling 2018-11-18 11:32:59 +01:00
parent e1ebf15d31
commit 6f26898822
1 changed files with 1 additions and 13 deletions

View File

@ -5748,19 +5748,7 @@ static int sp_eternizewall(castorder * co)
return cast_level;
}
static bool change_spellpoints(struct unit *u, int delta) {
sc_mage *mage = get_mage(u);
if (mage) {
if (mage->spellpoints + delta >= 0) {
mage->spellpoints += delta;
return true;
}
mage->spellpoints = 0;
}
return false;
}
static enum magic_t get_magic_type(const struct unit *u) {
static magic_t get_magic_type(const struct unit *u) {
sc_mage *mage = get_mage(u);
if (mage) {
return mage->magietyp;