forked from github/server
- Fix Golems/Schattendämonen ohne Talente
This commit is contained in:
parent
d904d49ba6
commit
c9129baf45
|
@ -1558,7 +1558,7 @@ sp_create_irongolem(castorder *co)
|
|||
* Flag:
|
||||
* (SPELLLEVEL)
|
||||
*
|
||||
* #define GOLEM_STONE 10
|
||||
* #define GOLEM_STONE 5
|
||||
*/
|
||||
static int
|
||||
sp_create_stonegolem(castorder *co)
|
||||
|
|
|
@ -606,10 +606,11 @@ set_level(unit * u, skill_t id, int value)
|
|||
while (sv != u->skills + u->skill_size) {
|
||||
if (sv->id == id) {
|
||||
sk_set(sv, value);
|
||||
break;
|
||||
return;
|
||||
}
|
||||
++sv;
|
||||
}
|
||||
sk_set(add_skill(u, id), value);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue