Add missing break into 2D table lookups

This commit is contained in:
Josh Stewart 2017-07-11 20:12:13 +10:00
parent a931000c45
commit 9c6acabb65
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,7 @@ int table2D_getValue(struct table2D *fromTable, int X_in)
{
returnValue = fromTable->values[x]; //Simply return the coresponding value
valueFound = true;
break;
}
else
{
@ -143,6 +144,7 @@ int table2D_getValue(struct table2D *fromTable, int X_in)
{
returnValue = fromTable->values16[x]; //Simply return the coresponding value
valueFound = true;
break;
}
else
{