1
0

Added a 'default:' for SimChunk()'s switch

This commit is contained in:
Tiger Wang 2014-02-15 20:22:51 +00:00
parent c494d0f6f2
commit d273cc4142

View File

@ -311,6 +311,7 @@ void cIncrementalRedstoneSimulator::SimulateChunk(float a_Dt, int a_ChunkX, int
HandlePressurePlate(a_X, dataitr->y, a_Z, dataitr->Data); HandlePressurePlate(a_X, dataitr->y, a_Z, dataitr->Data);
break; break;
} }
default: LOGD("Unhandled block (!) or unimplemented redstone block: %s", ItemToString(dataitr->Data).c_str()); break;
} }
++dataitr; ++dataitr;
} }