Fix broken code in MyChar.cpp
This commit is contained in:
parent
9398314af6
commit
cc1df04fab
1 changed files with 2 additions and 1 deletions
|
@ -941,7 +941,8 @@ void SetMyCharDirect(unsigned char dir)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for (int i = 0; i < NPC_MAX; i++)
|
int i;
|
||||||
|
for (i = 0; i < NPC_MAX; i++)
|
||||||
if (gNPC[i].code_event == dir)
|
if (gNPC[i].code_event == dir)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue