Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ SetSectionAsRefreshed()

void Terraria.WorldSections.SetSectionAsRefreshed ( int x,
int y )
inline

Definition at line 72 of file WorldSections.cs.

73 {
74 if (x >= 0)
75 {
76 _ = width;
77 }
78 if (y >= 0)
79 {
80 _ = height;
81 }
82 if (data[y * width + x][3])
83 {
84 data[y * width + x][3] = false;
86 }
87 }

References Terraria.WorldSections._sectionsNeedingRefresh, Terraria.WorldSections.data, Terraria.WorldSections.height, and Terraria.WorldSections.width.