diff options
| author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-08-09 21:54:05 +0700 |
|---|---|---|
| committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2021-08-09 21:54:05 +0700 |
| commit | 497deaf4774f6f2c478c52ff092a6eb85f2e0939 (patch) | |
| tree | f793bb5aa4fd83e31b30adc98e2133ba176b84eb /src/Serialize.cpp | |
| parent | 1e83457eb3d786f553d77ece0b95f9aca641e524 (diff) | |
| download | blackshades-497deaf4774f6f2c478c52ff092a6eb85f2e0939.tar.gz | |
Disable NPC's footsteps and clean up sound loading1.3.4
https://todo.sr.ht/~cnx/blackshades/13
Diffstat (limited to 'src/Serialize.cpp')
| -rw-r--r-- | src/Serialize.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Serialize.cpp b/src/Serialize.cpp index 443e935..c07a5db 100644 --- a/src/Serialize.cpp +++ b/src/Serialize.cpp @@ -12,7 +12,6 @@ int ReadBool(int fd, int count, bool *b) unsigned char buf[1]; if (read(fd, buf, 1) != 1) { - STUB_FUNCTION; } *b = (buf[0] != 0) ? true : false; @@ -29,7 +28,6 @@ int ReadShort(int fd, int count, short *s) unsigned char buf[2]; if (read(fd, buf, 2) != 2) { - STUB_FUNCTION; } *s = (short)((buf[0] << 8) | buf[1]); @@ -46,7 +44,6 @@ int ReadInt(int fd, int count, int *s) unsigned char buf[4]; if (read(fd, buf, 4) != 4) { - STUB_FUNCTION; } *s = (int)((buf[0] << 24) | (buf[1] << 16) | (buf[2] << 8) | buf[3]); |
