mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-10 23:02:03 +00:00
Fix silly branching logic in engineLoadBoard()
git-svn-id: https://svn.eduke32.com/eduke32@7871 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
c7e403619b
commit
1a83ec15e4
1 changed files with 9 additions and 4 deletions
|
@ -9828,9 +9828,9 @@ skip_reading_mapbin:
|
|||
kclose(fil);
|
||||
// Done reading file.
|
||||
|
||||
for (i=numsprites-1; i>=0; i--)
|
||||
if (!have_maptext())
|
||||
{
|
||||
if (!have_maptext())
|
||||
for (i=numsprites-1; i>=0; i--)
|
||||
{
|
||||
sprite[i].x = B_LITTLE32(sprite[i].x);
|
||||
sprite[i].y = B_LITTLE32(sprite[i].y);
|
||||
|
@ -9847,9 +9847,14 @@ skip_reading_mapbin:
|
|||
sprite[i].lotag = B_LITTLE16(sprite[i].lotag);
|
||||
sprite[i].hitag = B_LITTLE16(sprite[i].hitag);
|
||||
sprite[i].extra = B_LITTLE16(sprite[i].extra);
|
||||
}
|
||||
|
||||
check_sprite(i);
|
||||
check_sprite(i);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
for (i=numsprites-1; i>=0; i--)
|
||||
check_sprite(i);
|
||||
}
|
||||
|
||||
// Back up the map version of the *loaded* map. Must be before yax_update().
|
||||
|
|
Loading…
Reference in a new issue