ref: 7452a103459552db9cd7ae29060228e8cc9112c2
parent: db01eff6d98e98dbfb89990f722a95daafeb1159
author: Tanguy Fautre <[email protected]>
date: Sat Feb 15 14:41:17 EST 2020
Fix Linux compilation.
--- a/Game/src/cvars.h
+++ b/Game/src/cvars.h
@@ -19,7 +19,7 @@
void CVAR_RegisterCvar(const char * varname, const char * varhelp, void* variable, function_t function);
int CVAR_GetNumCvarBindings();
-cvar_binding* CVAR_GetCvarBinding(unsigned int nBinding);
+cvar_binding* CVAR_GetCvarBinding(int nBinding);
void CVAR_Render();
#endif
\ No newline at end of file
--- a/Game/src/duke3d.h
+++ b/Game/src/duke3d.h
@@ -550,7 +550,7 @@
short tempang,actorstayput,dispicnum;
short timetosleep;
int32_t floorz,ceilingz,lastvx,lastvy,bposx,bposy,bposz;
- intptr_t temp_data[6];
+ intptr_t temp_data[6]; // tanguyf: this causes savegames not to be compatible between 32 and 64-bits
};
extern struct weaponhit hittype[MAXSPRITES];