mirror of
https://github.com/ZDoom/Raze.git
synced 2025-02-17 01:01:09 +00:00
Duke: fixed bad loop index in gamevar init code.
This commit is contained in:
parent
8dc0505a65
commit
b068a19ed9
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