Skip to content

Commit

Permalink
local variable scope bug, oops
Browse files Browse the repository at this point in the history
  • Loading branch information
tra committed Jun 24, 2024
1 parent d37d8b0 commit 1b43cc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/CGlowActors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ void CGlowActors::FrameAction() {
if (maskBits & kSolidBit) {
// only add "solid" objects to the checksum because the location of
// non-solid objects (invisible/limbo/dead) isn't relevant and could cause frags
uint32_t locsum = location[0] + location[1] + location[2];
locsum = location[0] + location[1] + location[2];
UpdateFRandSeed(locsum);
}
// SDL_Log("fn = %u, FRandSeed = %10d, locsum = %8d, Actor = %s", gCurrentGame->frameNumber, (Fixed)FRandSeed, locsum, typeid(*this).name());
Expand Down

0 comments on commit 1b43cc5

Please sign in to comment.