Skip to content

Commit

Permalink
Merge pull request #223 from patrikjuvonen/issue-9849
Browse files Browse the repository at this point in the history
0009849: add some missing Vehicle class methods
  • Loading branch information
qaisjp committed Jul 6, 2018
2 parents 1d37c73 + d618755 commit 149a0ad
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Client/mods/deathmatch/logic/luadefs/CLuaVehicleDefs.cpp
Expand Up @@ -138,6 +138,11 @@ void CLuaVehicleDefs::AddClass(lua_State* luaVM)
{
lua_newclass(luaVM);

lua_classfunction(luaVM, "getModelFromName", "getVehicleModelFromName");
lua_classfunction(luaVM, "getNameFromModel", "getVehicleNameFromModel");
lua_classfunction(luaVM, "getOriginalHandling", "getOriginalHandling");
lua_classfunction(luaVM, "getUpgradeSlotName", "getVehicleUpgradeSlotName");

lua_classfunction(luaVM, "create", "createVehicle");
lua_classfunction(luaVM, "blow", "blowVehicle");
lua_classfunction(luaVM, "fix", "fixVehicle");
Expand Down

0 comments on commit 149a0ad

Please sign in to comment.