summaryrefslogtreecommitdiffstats
path: root/source/cSignEntity.cpp
diff options
context:
space:
mode:
authorcedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-08 03:56:44 +0200
committercedeel@gmail.com <cedeel@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-08 03:56:44 +0200
commit2295c1d7cba3df6f7fc2e96b0d25df116d0b1692 (patch)
treea25a3245f357f7e216a8949f836a98bd27eab938 /source/cSignEntity.cpp
parentFixed the nightbuild script for automatic Bindings generation (diff)
downloadcuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.gz
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.bz2
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.lz
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.xz
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.tar.zst
cuberite-2295c1d7cba3df6f7fc2e96b0d25df116d0b1692.zip
Diffstat (limited to 'source/cSignEntity.cpp')
-rw-r--r--source/cSignEntity.cpp26
1 files changed, 0 insertions, 26 deletions
diff --git a/source/cSignEntity.cpp b/source/cSignEntity.cpp
index ca21d847b..cf0a13650 100644
--- a/source/cSignEntity.cpp
+++ b/source/cSignEntity.cpp
@@ -104,32 +104,6 @@ cPacket * cSignEntity::GetPacket(void)
return false; \
}
-bool cSignEntity::LoadFromFile(cFile & f)
-{
- READ(f, m_PosX);
- READ(f, m_PosY);
- READ(f, m_PosZ);
-
- for( int i = 0; i < 4; i++ )
- {
- short Size = 0;
- READ(f, Size);
- if (Size > 0)
- {
- char * c_Str = new char[Size];
- if (f.Read(c_Str, Size) != Size )
- {
- LOGERROR("ERROR READING SIGN FROM FILE");
- delete [] c_Str;
- return false;
- }
- m_Line[i].assign( c_Str, Size );
- delete [] c_Str;
- }
- }
-
- return true;
-}