forked from github/server
rosthauch mit force==0 crashes
This commit is contained in:
parent
cb88302668
commit
26b131b18d
|
@ -1288,8 +1288,9 @@ sp_rosthauch(castorder *co)
|
|||
#endif
|
||||
}
|
||||
|
||||
if (force>0) {
|
||||
force = rng_int()%((int)(force * 10)) + force;
|
||||
|
||||
}
|
||||
/* fuer jede Einheit */
|
||||
for (n = 0; n < pa->length; n++) {
|
||||
unit *u = pa->param[n]->data.u;
|
||||
|
|
Loading…
Reference in New Issue