summaryrefslogtreecommitdiff
path: root/src/hexen/sv_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hexen/sv_save.c')
-rw-r--r--src/hexen/sv_save.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hexen/sv_save.c b/src/hexen/sv_save.c
index e2fba15a..7a2134f7 100644
--- a/src/hexen/sv_save.c
+++ b/src/hexen/sv_save.c
@@ -379,7 +379,7 @@ void SV_LoadGame(int slot)
SavePtr.b = SaveBuffer + HXS_DESCRIPTION_LENGTH;
// Check the version text
- if (strcmp(SavePtr.b, HXS_VERSION_TEXT))
+ if (strcmp((char *) SavePtr.b, HXS_VERSION_TEXT))
{ // Bad version
return;
}
@@ -475,8 +475,8 @@ void SV_MapTeleport(int map, int position)
boolean rClass;
boolean playerWasReborn;
boolean oldWeaponowned[NUMWEAPONS];
- int oldKeys;
- int oldPieces;
+ int oldKeys = 0;
+ int oldPieces = 0;
int bestWeapon;
if (!deathmatch)