- Fix Golems/Schattendämonen ohne Talente

This commit is contained in:
Christian Schlittchen 2002-03-02 12:33:03 +00:00
parent d904d49ba6
commit c9129baf45
2 changed files with 3 additions and 2 deletions

View File

@ -1558,7 +1558,7 @@ sp_create_irongolem(castorder *co)
* Flag: * Flag:
* (SPELLLEVEL) * (SPELLLEVEL)
* *
* #define GOLEM_STONE 10 * #define GOLEM_STONE 5
*/ */
static int static int
sp_create_stonegolem(castorder *co) sp_create_stonegolem(castorder *co)

View File

@ -606,10 +606,11 @@ set_level(unit * u, skill_t id, int value)
while (sv != u->skills + u->skill_size) { while (sv != u->skills + u->skill_size) {
if (sv->id == id) { if (sv->id == id) {
sk_set(sv, value); sk_set(sv, value);
break; return;
} }
++sv; ++sv;
} }
sk_set(add_skill(u, id), value);
#endif #endif
} }