Browse Source

typos (#989)

pull/991/head
qndel 5 years ago committed by GitHub
parent
commit
20a96d3ef3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      Source/diablo.cpp

2
Source/diablo.cpp

@ -1559,7 +1559,7 @@ static void UpdateMonsterLights()
for (int i = 0; i < nummonsters; i++) {
MonsterStruct *mon = &monster[monstactive[i]];
if (mon->mlid != NO_LIGHT) {
if (mon->mlid == plr[myplr]._plid) { // Fix old save games where some monsters hade 0 instea of NO_LIGHT
if (mon->mlid == plr[myplr]._plid) { // Fix old saves where some monsters had 0 instead of NO_LIGHT
mon->mlid = NO_LIGHT;
continue;
}

Loading…
Cancel
Save