Add missing break into 2D table lookups
This commit is contained in:
parent
a931000c45
commit
9c6acabb65
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue