lua_interface possible bug

Old bugs stored here for reference.
Locked
User avatar
John Adams
Retired
Posts: 9684
Joined: Thu Jul 26, 2007 6:27 am
EQ2Emu Server: EQ2Emulator Test Center
Characters: John
Location: Arizona
Contact:

lua_interface possible bug

Post by John Adams » Mon Aug 01, 2011 6:26 pm

Scat, in LuaInterface.cpp, Line 548, I came across what looks like a typo. I do not think this registration is correct, though I doubt it's breaking anything... GetRace() just won't work, I imagine?

Code: Select all

	lua_register(state, "GetMount", EQ2Emu_lua_GetMount);
	lua_register(state, "Ge", EQ2Emu_lua_GetRace);
	lua_register(state, "GetRaceName", EQ2Emu_lua_GetRaceName);
If you agree, I will finish typing GetRace in that second param :) Just wanted to run it passed you to be sure I wasn't overlooking something obvious.

User avatar
Scatman
Retired
Posts: 1688
Joined: Wed Apr 16, 2008 5:44 am
EQ2Emu Server: Scatman's Word
Characters: Scatman
Location: New Jersey

Re: lua_interface possible bug

Post by Scatman » Mon Aug 01, 2011 7:16 pm

Heh, yep. It's registering the function "Ge()" into LUA. Nice catch :P

Locked

Who is online

Users browsing this forum: No registered users and 0 guests