forked from github/server
fix build (bad merge, self is now f)
This commit is contained in:
parent
00e39717e1
commit
7335d8c5c9
|
@ -260,7 +260,7 @@ static int tolua_faction_debug_messages(lua_State * L)
|
|||
int i = 1;
|
||||
if (f->msgs) {
|
||||
mlist *ml;
|
||||
for (ml = self->msgs->begin; ml; ml = ml->next, ++i) {
|
||||
for (ml = f->msgs->begin; ml; ml = ml->next, ++i) {
|
||||
char buf[120];
|
||||
nr_render(ml->msg, default_locale, buf, sizeof(buf), NULL);
|
||||
puts(buf);
|
||||
|
|
|
@ -1,8 +1,11 @@
|
|||
#pragma once
|
||||
|
||||
struct lua_State;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct lua_State;
|
||||
int tolua_factionlist_next(struct lua_State *L);
|
||||
void tolua_faction_open(struct lua_State *L);
|
||||
|
||||
|
|
Loading…
Reference in New Issue