Goe (#2163)
* proper random_ comparisons * proper mienemy comparisons * add mienemy/micaster enum * GOE enum
This commit is contained in:
parent
a597e6d0d5
commit
7f7ae623df
14 changed files with 386 additions and 371 deletions
|
|
@ -191,7 +191,7 @@ BOOL CheckThemeObj3(int xp, int yp, int t, int f)
|
|||
return FALSE;
|
||||
if (dObject[xp + trm3x[i]][yp + trm3y[i]])
|
||||
return FALSE;
|
||||
if (f != -1 && !random_(0, f))
|
||||
if (f != -1 && random_(0, f) == 0)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue