Skip to content

Commit

Permalink
Fixed reloading of the game items
Browse files Browse the repository at this point in the history
  • Loading branch information
ludamad committed Apr 1, 2013
1 parent 6b7b35c commit 5b129cf
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 4 deletions.
Binary file removed res/items/weapons/.weapons.lua.swp
Binary file not shown.
1 change: 0 additions & 1 deletion src/lanarts/src/lua_api/lua_newapi.cpp
Expand Up @@ -256,5 +256,4 @@ namespace lua_api {
luawrap::call<void>(L);
}
}

}
1 change: 0 additions & 1 deletion src/lanarts/src/stats/loaddata/load_equipment_data.cpp
Expand Up @@ -61,7 +61,6 @@ static void lapi_data_create_equipment(const LuaStackValue& table) {
int idx = game_item_data.size();
entry->init(idx, table);
printf("Loaded %s successfully!\n", entry->name.c_str());
game_item_data.push_back(entry);
}

void load_equipment_data(lua_State* L, const FilenameList& filenames,
Expand Down
1 change: 0 additions & 1 deletion src/lanarts/src/stats/loaddata/load_item_data.cpp
Expand Up @@ -56,7 +56,6 @@ static void lapi_data_create_item(const LuaStackValue& table) {
int idx = game_item_data.size();
entry->init(idx, table);
printf("Loaded %s successfully!\n", entry->name.c_str());
game_item_data.push_back(entry);
}

LuaValue load_item_data(lua_State* L, const FilenameList& filenames) {
Expand Down
1 change: 0 additions & 1 deletion src/lanarts/src/stats/loaddata/load_weapon_data.cpp
Expand Up @@ -65,7 +65,6 @@ static void lapi_data_create_weapon(const LuaStackValue& table) {
int idx = game_item_data.size();
entry->init(idx, table);
printf("Loaded %s successfully!\n", entry->name.c_str());
game_item_data.push_back(entry);
}

void load_weapon_data(lua_State* L, const FilenameList& filenames,
Expand Down

0 comments on commit 5b129cf

Please sign in to comment.