Minor comment tweaks
This commit is contained in:
@@ -24,6 +24,7 @@
|
|||||||
#include "entity.hpp"
|
#include "entity.hpp"
|
||||||
|
|
||||||
static int setRoomIndex(lua_State* L) {
|
static int setRoomIndex(lua_State* L) {
|
||||||
|
//TODO: (1) if this is a character, push/pop from the room system
|
||||||
Entity* entity = static_cast<Entity*>(lua_touserdata(L, 1));
|
Entity* entity = static_cast<Entity*>(lua_touserdata(L, 1));
|
||||||
entity->SetRoomIndex(lua_tointeger(L, 2));
|
entity->SetRoomIndex(lua_tointeger(L, 2));
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user