Skip to content

Commit

Permalink
Remove obsolete "solveRoomCollisions" function (Mudlet#3150)
Browse files Browse the repository at this point in the history
* remove obsolete solveRoomCollisions function

* remove obsolete solveRoomCollisions function declaration
  • Loading branch information
Kebap authored Oct 7, 2019
1 parent eebe1d5 commit cf66df6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
7 changes: 0 additions & 7 deletions src/TLuaInterpreter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4964,12 +4964,6 @@ int TLuaInterpreter::getRoomHashByID(lua_State* L)
return 2;
}

// Documentation: ? - public function missing documentation in wiki
int TLuaInterpreter::solveRoomCollisions(lua_State* L)
{
return 0;
}

// Documentation: https://wiki.mudlet.org/w/Manual:Lua_Functions#roomLocked
int TLuaInterpreter::roomLocked(lua_State* L)
{
Expand Down Expand Up @@ -15733,7 +15727,6 @@ void TLuaInterpreter::initLuaGlobals()
lua_register(pGlobalLua, "getRoomName", TLuaInterpreter::getRoomName);
lua_register(pGlobalLua, "setGridMode", TLuaInterpreter::setGridMode);
lua_register(pGlobalLua, "getGridMode", TLuaInterpreter::getGridMode);
lua_register(pGlobalLua, "solveRoomCollisions", TLuaInterpreter::solveRoomCollisions);
lua_register(pGlobalLua, "addSpecialExit", TLuaInterpreter::addSpecialExit);
lua_register(pGlobalLua, "removeSpecialExit", TLuaInterpreter::removeSpecialExit);
lua_register(pGlobalLua, "getSpecialExits", TLuaInterpreter::getSpecialExits);
Expand Down
1 change: 0 additions & 1 deletion src/TLuaInterpreter.h
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,6 @@ class TLuaInterpreter : public QThread
static int appendCmdLine(lua_State*);
static int getCmdLine(lua_State* L);
static int clearSpecialExits(lua_State*);
static int solveRoomCollisions(lua_State*);
static int setGridMode(lua_State* L);
static int getGridMode(lua_State* L);
static int getCustomEnvColorTable(lua_State* L);
Expand Down

0 comments on commit cf66df6

Please sign in to comment.