mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
gcc14 fixes
This commit is contained in:
1 parent
a0f8550034
commit
27faaecda2
4 files changed
+4
-2
No files matched your search
+1
-1
@@ -1333,7 +1333,7 @@ void func0f14bdbc(s32 index)
|
||||
s32 value;
|
||||
|
||||
for (i = 0; i < 30; i++) {
|
||||
thing->unk0dc[i] = NULL;
|
||||
thing->unk0dc[i] = 0;
|
||||
}
|
||||
|
||||
thing->unk094 = 0;
|
||||
|
||||
@@ -18,7 +18,7 @@ struct modeldef g_PlayerModeldef = {
|
||||
3,
|
||||
41.161228179932,
|
||||
0,
|
||||
NULL,
|
||||
0,
|
||||
};
|
||||
|
||||
// rodata parent next prev child
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "game/mplayer/mplayer.h"
|
||||
#include "game/pad.h"
|
||||
#include "game/propobj.h"
|
||||
#include "game/options.h"
|
||||
#include "bss.h"
|
||||
#include "lib/vi.h"
|
||||
#include "lib/snd.h"
|
||||
|
||||
@@ -16,6 +16,7 @@ s32 isalpha(char c);
|
||||
s32 isspace(char c);
|
||||
s32 strtol(const char *src, const char **endptr, s32 base);
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <ctype.h>
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user