[Fix] I should have taken a career in bug extermination.
This commit is contained in:
parent
1c9bc7ed9d
commit
f81016feed
@ -17,8 +17,8 @@
|
|||||||
#define MISN_DEBUG(str, args...) (fprintf(stdout, "Mission '%s': "str"\n", \
|
#define MISN_DEBUG(str, args...) (fprintf(stdout, "Mission '%s': "str"\n", \
|
||||||
cur_mission->data->name, ## args))
|
cur_mission->data->name, ## args))
|
||||||
|
|
||||||
#define MIN_ARGS(n) { \
|
#define MIN_ARGS(n) \
|
||||||
if(lua_gettop(L) < n) \
|
if(lua_gettop(L) < n) { \
|
||||||
MISN_DEBUG("[%s] Too few arguments", __func__); \
|
MISN_DEBUG("[%s] Too few arguments", __func__); \
|
||||||
return 0; \
|
return 0; \
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user