Clang warning fixes; remove unneeded nuklear files; remove assumed window size
This commit is contained in:
@@ -34,7 +34,7 @@ struct gameobject *id2go(int id) {
|
||||
}
|
||||
|
||||
int body2id(cpBody *body) {
|
||||
return (int)cpBodyGetUserData(body);
|
||||
return *(int*)cpBodyGetUserData(body);
|
||||
}
|
||||
|
||||
cpBody *id2body(int id) {
|
||||
|
||||
Reference in New Issue
Block a user