- Fixed: In case the path to strife1.wad didn't contain any '/' an

incorrect path was created for voices.wad.
- Fixed: The code building the path for Strife's voices.wad called the
  wrong FString constructor.
- Fixed: LS_Thing_SetGoal set MF5_CHASEGOAL in flags, not flags5.

SVN r128 (trunk)
This commit is contained in:
Christoph Oelckers 2006-05-18 15:03:35 +00:00
parent a39f5bb8f7
commit 1971f97fd6
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
May 17, 2006 (Changes by Graf Zahl)
- Fixed: In case the path to strife1.wad didn't contain any '/' an
incorrect path was created for voices.wad.
- Fixed: The code building the path for Strife's voices.wad called the
wrong FString constructor.
- Fixed: LS_Thing_SetGoal set MF5_CHASEGOAL in flags, not flags5.
May 17, 2006
- Fixed: M_NotifyNewSave() needlessly created a copy of the filename.
- Fixed: Any touching_sectorlists for actors unlinked in G_StartTravel() were

View File

@ -1616,11 +1616,11 @@ static EIWADType IdentifyVersion (const char *zdoom_wad)
if (lastslash == -1)
{
path = wads[pickwad].Path;
path = "";// wads[pickwad].Path;
}
else
{
path = FString (wads[pickwad].Path, lastslash + 1);
path = FString (wads[pickwad].Path.GetChars(), lastslash + 1);
}
path += "voices.wad";
D_AddFile (path);

View File

@ -1325,7 +1325,7 @@ FUNC(LS_Thing_SetGoal)
{
self->goal = goal;
if (arg3 == 0) self->flags5 &=~ MF5_CHASEGOAL;
else self->flags |= MF5_CHASEGOAL;
else self->flags5 |= MF5_CHASEGOAL;
if (self->target == NULL)
{
self->reactiontime = arg2 * TICRATE;