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:
|
* 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)
|
||||||
|
|
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue