mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-21 02:51:46 +00:00
Duke: fixed bad loop index in gamevar init code.
This commit is contained in:
parent
330e2af217
commit
2096b74421
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ void ResetGameVars(void)
|
|||
{
|
||||
if (aGameVars[i].dwFlags & (GAMEVAR_FLAG_PERPLAYER))
|
||||
{
|
||||
for (int j = 0; i < MAXPLAYERS; i++)
|
||||
for (int j = 0; j < MAXPLAYERS; j++)
|
||||
{
|
||||
getPlayer(j)->uservars[aGameVars[i].indexValue] = aGameVars[i].defaultValue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue