Fixed variable name mismatch in world.c
A variable name mismatch prevented the code to compile on machines with GLib < 2.28
This commit is contained in:
parent
2d45069c88
commit
fddfb4b594
@ -460,7 +460,7 @@ wmud_world_free_exits(GSList *exits)
|
|||||||
g_slist_free_full(exits, (GDestroyNotify)g_free);
|
g_slist_free_full(exits, (GDestroyNotify)g_free);
|
||||||
#else
|
#else
|
||||||
g_slist_foreach(exits, (GFunc)g_free, NULL);
|
g_slist_foreach(exits, (GFunc)g_free, NULL);
|
||||||
g_slist_free(rooms);
|
g_slist_free(exits);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user