mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 23:21:41 +00:00
- Added skillinfo fix by Gez.
SVN r1980 (trunk)
This commit is contained in:
parent
b57ac1aed8
commit
d01c402755
2 changed files with 2 additions and 1 deletions
|
@ -1,4 +1,5 @@
|
||||||
November 14, 2009 (Changes by Graf Zahl)
|
November 14, 2009 (Changes by Graf Zahl)
|
||||||
|
- Added skillinfo fix by Gez.
|
||||||
- added a r_scaletallskies CVAR so that sky positioning can be checked
|
- added a r_scaletallskies CVAR so that sky positioning can be checked
|
||||||
more easily.
|
more easily.
|
||||||
- fixed: Skies with a height of exactly 200 pixels should not be stretched.
|
- fixed: Skies with a height of exactly 200 pixels should not be stretched.
|
||||||
|
|
|
@ -220,7 +220,7 @@ FActorInfo *FActorInfo::GetReplacee (bool lookskill)
|
||||||
|
|
||||||
if (lookskill && AllSkills.Size() > (unsigned)gameskill)
|
if (lookskill && AllSkills.Size() > (unsigned)gameskill)
|
||||||
{
|
{
|
||||||
FName skillrepname = AllSkills[gameskill].GetReplacedBy(this->Class->TypeName);
|
skillrepname = AllSkills[gameskill].GetReplacedBy(this->Class->TypeName);
|
||||||
if (skillrepname != NAME_None && PClass::FindClass(skillrepname) == NULL)
|
if (skillrepname != NAME_None && PClass::FindClass(skillrepname) == NULL)
|
||||||
{
|
{
|
||||||
Printf("Warning: incorrect actor name in definition of skill %s: \n"
|
Printf("Warning: incorrect actor name in definition of skill %s: \n"
|
||||||
|
|
Loading…
Reference in a new issue