1
0
ミラー元 https://github.com/luanti-org/luanti.git 前回の同期 2026-01-07 17:55:37 +01:00

Fixed small error in mapnode.cpp (didn't cause any harm though)

このコミットが含まれているのは:
Perttu Ahola
2011-07-22 01:37:21 +03:00
コミット 329158f7d1

ファイルの表示

@@ -142,8 +142,10 @@ void init_mapnode()
Initially set every block to be shown as an unknown block.
Don't touch CONTENT_IGNORE or CONTENT_AIR.
*/
for(u16 i=0; i<=253; i++)
for(u16 i=0; i<256; i++)
{
if(i == CONTENT_IGNORE || i == CONTENT_AIR)
continue;
ContentFeatures *f = &g_content_features[i];
f->setAllTextures("unknown_block.png");
f->dug_item = std::string("MaterialItem ")+itos(i)+" 1";