aboutsummaryrefslogtreecommitdiff
path: root/src/client/lua_api/gui/iguielement.cpp
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2018-06-22 12:38:38 -0600
committerAlexander Pickering <alexandermpickering@gmail.com>2018-06-22 12:38:38 -0600
commit9fa5dcc9310a8c6ff8c77a47a86303f7b950dcf3 (patch)
treed7956fc8aabef903f354578d69d4d7fdf64ec928 /src/client/lua_api/gui/iguielement.cpp
parent06d3e8182d018ca613f177f6ff7a3bbb6494cc79 (diff)
downloadbrokengine-9fa5dcc9310a8c6ff8c77a47a86303f7b950dcf3.tar.gz
brokengine-9fa5dcc9310a8c6ff8c77a47a86303f7b950dcf3.tar.bz2
brokengine-9fa5dcc9310a8c6ff8c77a47a86303f7b950dcf3.zip
Updated core
Updated all core files to prepare for tech demo
Diffstat (limited to 'src/client/lua_api/gui/iguielement.cpp')
-rw-r--r--src/client/lua_api/gui/iguielement.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/lua_api/gui/iguielement.cpp b/src/client/lua_api/gui/iguielement.cpp
index b62efef..436bf93 100644
--- a/src/client/lua_api/gui/iguielement.cpp
+++ b/src/client/lua_api/gui/iguielement.cpp
@@ -27,13 +27,13 @@ static LIGUIElement* toiguielement(lua_State* L){
//move({element},{x,y}) -> nil
int moveiguielement(lua_State* L){
- printf("Got call to move element\n");
+ //printf("Got call to move element\n");
long x,y;
popvector2i(L,&x,&y); //{element}
- printf("I want to move to %d %d\n",x,y);
+ //printf("I want to move to %d %d\n",x,y);
lua_getfield(L,-1,"guielement");//{element},*element
IGUIElement *el = (IGUIElement*)lua_touserdata(L,-1);
- printf("Found element to move: %p\n",el);
+ //printf("Found element to move: %p\n",el);
lua_pop(L,2);//
el->move(position2d<s32>(x,y));