Commit 679567da authored by Momobako's avatar Momobako

updc

parent 765ca2fa
...@@ -43,4 +43,7 @@ struct card_sort { ...@@ -43,4 +43,7 @@ struct card_sort {
}; };
#endif /* COMMON_H_ */ #endif /* COMMON_H_ */
#ifndef MODDED_TONUMBER
#define MODDED_TONUMBER
#define lua_tonumberint(L,i) (lua_Integer)(((lua_tonumberx(L, (i), NULL) > 0) ? 0.5 : -0.5) + lua_tonumberx(L, (i), NULL)) #define lua_tonumberint(L,i) (lua_Integer)(((lua_tonumberx(L, (i), NULL) > 0) ? 0.5 : -0.5) + lua_tonumberx(L, (i), NULL))
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment