fir for lua get_spawn_condition

This commit is contained in:
Sorvani 2013-07-15 00:35:46 -05:00
parent 36e12110d5
commit c216ece72c
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
EQEMu Changelog (Started on Sept 24, 2003 15:50)
-------------------------------------------------------
== 07/15/2013 ==
Sorvani: fix for lua_general.cpp funtion get_spawn_condition
== 07/13/2013 ==
KLS: Added packet class and helper functions to Lua.

View File

@ -343,8 +343,8 @@ void lua_spawn_condition(const char *zone, uint32 instance_id, int condition_id,
quest_manager.spawn_condition(zone, instance_id, condition_id, value);
}
void lua_get_spawn_condition(const char *zone, uint32 instance_id, int condition_id) {
quest_manager.get_spawn_condition(zone, instance_id, condition_id);
int lua_get_spawn_condition(const char *zone, uint32 instance_id, int condition_id) {
return quest_manager.get_spawn_condition(zone, instance_id, condition_id);
}
void lua_toggle_spawn_event(int event_id, bool enable, bool reset) {