GRIM: lua - fix missing break

This commit is contained in:
Pawel Kolodziejski 2012-01-02 20:15:03 +01:00
parent 13692224dd
commit f32c5b5fb1

View File

@ -31,6 +31,7 @@ static int64 hashindex(TObject *ref) {
break; break;
case LUA_T_USERDATA: case LUA_T_USERDATA:
h = (int64)ref->value.ud.id; h = (int64)ref->value.ud.id;
break;
case LUA_T_STRING: case LUA_T_STRING:
h = (int64)tsvalue(ref); h = (int64)tsvalue(ref);
break; break;
@ -84,6 +85,7 @@ static int32 hashindex(TObject *r) {
break; break;
case LUA_T_USERDATA: case LUA_T_USERDATA:
h = (int32)r->value.ud.id; h = (int32)r->value.ud.id;
break;
case LUA_T_STRING: case LUA_T_STRING:
h = (int32)tsvalue(r); h = (int32)tsvalue(r);
break; break;