- Added Karate Chris's patch for 0-tid == activator in action specials

Thing_SetSpecial and Thing_SetTranslation.
- -moved BUGS_FORUM_URL to version.h


SVN r745 (trunk)
This commit is contained in:
Christoph Oelckers 2008-02-14 15:40:46 +00:00
parent a9e2d96483
commit b53834a72f
4 changed files with 24 additions and 5 deletions

View file

@ -1,3 +1,8 @@
February 14, 2008 (Changes by Graf Zahl)
- Added Karate Chris's patch for 0-tid == activator in action specials
Thing_SetSpecial and Thing_SetTranslation.
- -moved BUG_FORUM_URL to version.h
February 13, 2008
- Removed most checks on vid_hw2d/test2d. This now gets checked only once per
frame to avoid the remote possibility that it could change during the middle

View file

@ -901,7 +901,14 @@ FUNC(LS_Thing_SetSpecial) // [BC]
// [RH] Use the SetThingSpecial ACS command instead.
// It can set all args and not just the first three.
{
if (arg0 != 0)
if (arg0 == 0)
{
it->special = arg1;
it->args[0] = arg2;
it->args[1] = arg3;
it->args[2] = arg4;
}
else
{
AActor *actor;
FActorIterator iterator (arg0);
@ -1513,10 +1520,18 @@ FUNC(LS_Thing_SetTranslation)
range = 0;
}
while ( (target = iterator.Next ()) )
if (arg0 == 0)
{
ok = true;
target->Translation = range==0? target->GetDefault()->Translation : range;
it->Translation = range==0? it->GetDefault()->Translation : range;
}
else
{
while ( (target = iterator.Next ()) )
{
ok = true;
target->Translation = range==0? target->GetDefault()->Translation : range;
}
}
return ok;

View file

@ -93,6 +93,7 @@
// More stuff that needs to be different for derivatives.
#define GAMENAME "ZDoom"
#define FORUM_URL "http://forum.zdoom.org"
#define BUGS_FORUM_URL "http://forum.zdoom.org/index.php?c=3"
#ifdef unix
#define HOME_DIR "~/.zdoom"

View file

@ -65,8 +65,6 @@
// MACROS ------------------------------------------------------------------
#define BUGS_FORUM_URL "http://forum.zdoom.org/index.php?c=3"
#define REMOTE_HOST "localhost"
#define REMOTE_PORT "80"
#define UPLOAD_URI "/test.php"