SethRobinson / UGT

Universal Game Translator - Uses Google's Cloud Vision to read and speak dialog from any image/game in any language
https://www.codedojo.com/?p=2426
Other
120 stars 24 forks source link

LastVerts Silly Code #32

Closed Meerkov closed 3 years ago

Meerkov commented 3 years ago
CL_Vec2f lastVerts[4];
    for (int i = 0; i < 4; i++)
    {
        lastVerts[0] = CL_Vec2f(0, 0);
    }

i is not used in the loop, so this just initializes lastVerts[0] four times instead. This looks like a mistake. In GameLogicComponent line ~175

SethRobinson commented 3 years ago

Oops, fixed! Thanks.