- made AActor::radius a double.
This means that all files in g_doom are now fully converted.
This commit is contained in:
parent
ec58e70078
commit
0bdb65c477
41 changed files with 200 additions and 187 deletions
|
|
@ -45,9 +45,9 @@ void AFastProjectile::Tick ()
|
|||
|
||||
int shift = 3;
|
||||
int count = 8;
|
||||
if (radius > 0)
|
||||
if (_f_radius() > 0)
|
||||
{
|
||||
while ( ((abs(_f_velx()) >> shift) > radius) || ((abs(_f_vely()) >> shift) > radius))
|
||||
while ( ((abs(_f_velx()) >> shift) > _f_radius()) || ((abs(_f_vely()) >> shift) > _f_radius()))
|
||||
{
|
||||
// we need to take smaller steps.
|
||||
shift++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue