aboutsummaryrefslogtreecommitdiff
path: root/src/scriptapi_env.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/scriptapi_env.cpp')
-rw-r--r--src/scriptapi_env.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/scriptapi_env.cpp b/src/scriptapi_env.cpp
index d54a6ce01..4e068e377 100644
--- a/src/scriptapi_env.cpp
+++ b/src/scriptapi_env.cpp
@@ -532,10 +532,10 @@ int EnvRef::l_find_node_near(lua_State *L)
}
for(int d=1; d<=radius; d++){
- core::list<v3s16> list;
+ std::list<v3s16> list;
getFacePositions(list, d);
- for(core::list<v3s16>::Iterator i = list.begin();
- i != list.end(); i++){
+ for(std::list<v3s16>::iterator i = list.begin();
+ i != list.end(); ++i){
v3s16 p = pos + (*i);
content_t c = env->getMap().getNodeNoEx(p).getContent();
if(filter.count(c) != 0){