port: measure nbomb age based on timestamps

makes them last the same amount of time regardless of fps
This commit is contained in:
fgsfds committed 2023-11-26 21:15:47 +01:00
1 parent 523e6ba9d9
commit 4a3c3a29b7
2 files changed
+12 -1

No files matched your search

+3
View File
@@ -5510,6 +5510,9 @@ struct nbomb {
struct prop *ownerprop;
struct sndstate *audiohandle20;
struct sndstate *audiohandle24;
#ifndef PLATFORM_N64
s32 spawnframe240; // spawned on this frame
#endif
};
struct roomacousticdata {