From 497deaf4774f6f2c478c52ff092a6eb85f2e0939 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nguy=E1=BB=85n=20Gia=20Phong?= Date: Mon, 9 Aug 2021 21:54:05 +0700 Subject: Disable NPC's footsteps and clean up sound loading https://todo.sr.ht/~cnx/blackshades/13 --- src/Serialize.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/Serialize.cpp') 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]); -- cgit v1.2.3