Skip to content

Commit

Permalink
Fixed|libdoom64: Use of uninitialized local variable (typo)
Browse files Browse the repository at this point in the history
  • Loading branch information
danij-deng committed May 20, 2015
1 parent d81a653 commit d73a447
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doomsday/apps/plugins/doom64/src/st_stuff.cpp
Expand Up @@ -379,11 +379,11 @@ static void initAutomapForCurrentMap(AutomapWidget& map)
map.reveal(false);

// Add initially visible lines (i.e. those immediately present when player has spawned
for (int lineNumber = 0; lineNumber < numlines; ++lineNumber)
for(int lineNumber = 0; lineNumber < numlines; ++lineNumber)
{
xline_t* xline = &xline[lineNumber];
xline_t *xline = &xlines[lineNumber];

if (xline->flags & ML_MAPPED)
if(xline->flags & ML_MAPPED)
{
P_SetLineAutomapVisibility(map.player(), lineNumber, true);
}
Expand Down

0 comments on commit d73a447

Please sign in to comment.