Core/Misc: Cleanups and misc edits

This commit is contained in:
hondacrx
2018-03-01 17:23:27 -05:00
parent f0916a5a0e
commit abbdd261b4
7 changed files with 198 additions and 431 deletions
@@ -164,9 +164,11 @@ namespace Game.Collision
{
uint name_length, displayId;
string name;
long length = reader.BaseStream.Length;
while (true)
{
if (reader.BaseStream.Position >= reader.BaseStream.Length)
if (reader.BaseStream.Position >= length)
break;
Vector3 v1, v2;