ref: e4c0fddc67ca4870502a4df0ff44bb95f3c92ad8
parent: e1de7bdf07eeb410f734b2de212885bf7de6699e
parent: 0045540b845a2bfe855fc4ff723442ff4e224f94
author: levesqu8 <levesqu8@msu.edu>
date: Sun Oct 15 19:31:29 EDT 2017
merging with master
--- a/rott/rt_cfg.c
+++ b/rott/rt_cfg.c
@@ -119,7 +119,9 @@
boolean autoAimMissileWeps = 0;
boolean autoAim = 1;
boolean enableExtraPistolDrops = 0;
+boolean ricochetingRocketsEnabled = 0;
+
boolean joystickenabled = 0;
boolean joypadenabled = 0;
int joystickport = 0;
@@ -403,7 +405,7 @@
unsigned int j;
char temp[3];
- memset(temp,0,sizeof(temp));
+ memset(temp,0,sizeof(*temp));
for (i=0; i<13; i++)
{
@@ -1774,7 +1776,11 @@
SafeWriteString(file, "\n;\n");
SafeWriteString(file, "; 1 - Enemies equipped with pistols have a chance of dropping an extra pistol when killed.\n");
SafeWriteString(file, "; 0 - Enemies will not drop extra pistols at all. (Default)\n");
+<<<<<<< HEAD
WriteParameter(file, "EnableExtraPistolDrops ", enableExtraPistolDrops);
+=======
+ WriteParameter(file, "EnableExtraPistolDrops ", enableExtraPistolDrops);
+>>>>>>> master
// Write out MouseEnabled
@@ -2070,7 +2076,7 @@
// Writeout password Password string
SafeWriteString(file,"\n;\nSecretPassword ");
- memset(passwordtemp,0,sizeof(passwordtemp));
+ memset(passwordtemp,0,sizeof(*passwordtemp));
ConvertPasswordStringToString ( &passwordtemp[0] );
SafeWriteString(file,&passwordtemp[0]);
@@ -2095,7 +2101,7 @@
if (!stricmp (token, tokenstr))
{
GetTokenEOL (false);
- memset (&info->path[0], 0, sizeof (info->path));
+ memset (&info->path[0], 0, sizeof (*info->path));
strcpy (&info->path[0], &name[0]);
}
}
@@ -2122,7 +2128,7 @@
{
#if (SHAREWARE == 0)
info->avail = true;
- memset (&info->file[0], 0, sizeof (info->file));
+ memset (&info->file[0], 0, sizeof (*info->file));
strcpy (&info->file[0], &token[0]);
#else
printf("Alternate file %s ignored.\n",token);