mirror of
https://github.com/kevinbentley/Descent3.git
synced 2026-04-04 11:00:04 -04:00
Fix deprecation warning about /Zc:forScope-
Fixed out-of-scope variables usage.
This commit is contained in:
@@ -696,7 +696,7 @@ int CObjectDialog::GetFreePlayerIndex() {
|
||||
}
|
||||
}
|
||||
|
||||
for (i = 0; i < MAX_NET_PLAYERS; i++) {
|
||||
for (int i = 0; i < MAX_NET_PLAYERS; i++) {
|
||||
if (slots[i] == 0) {
|
||||
mprintf(0, "Making new ship with id of %d...\n", i);
|
||||
return i;
|
||||
|
||||
Reference in New Issue
Block a user