i think i found a typo error in zscript !

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
dremor8484
Posts: 19
Joined: Sun Apr 30, 2023 8:44 pm

i think i found a typo error in zscript !

Post by dremor8484 »

// Blue torch --------------------------------------------------------------

class BlueTorch : Actor
{
Default
{
Radius 16;
Height 68;;
ProjectilePassHeight -16;
+SOLID
}
States
{
Spawn:
TBLU ABCD 4 BRIGHT;
Loop;
}
}

// Short green column ------------------------------------------------------

class ShortGreenColumn : Actor
{
Default
{
Radius 16;
Height 40;;
ProjectilePassHeight -16;
+SOLID
}
States
{
Spawn:
COL2 A -1;
Stop;
}
}

// Heads (plural!) on a stick ----------------------------------------------

class HeadsOnAStick : Actor
{
Default
{
Radius 16;
Height 64;;
ProjectilePassHeight -16;
+SOLID
}
States
{
Spawn:
POL2 A -1;
Stop;
}
}


Height 68;; <-- this the mistake, not sure if it does affect the game but hey !
file: doomdecorations.zs
found 3 typos, having ;; instead of ;
Professor Hastig
Posts: 160
Joined: Mon Jan 09, 2023 2:02 am
Graphics Processor: nVidia (Modern GZDoom)

Re: i think i found a typo error in zscript !

Post by Professor Hastig »

They are completely harmless, though.
User avatar
Rachael
Posts: 13386
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: i think i found a typo error in zscript !

Post by Rachael »

Professor Hastig wrote: Tue Sep 19, 2023 3:30 am They are completely harmless, though.
Maybe, but they look bad. I'm going to go after them.

and fixed
dremor8484
Posts: 19
Joined: Sun Apr 30, 2023 8:44 pm

Re: i think i found a typo error in zscript !

Post by dremor8484 »

Rachael wrote: Tue Sep 19, 2023 5:29 am
Professor Hastig wrote: Tue Sep 19, 2023 3:30 am They are completely harmless, though.
Maybe, but they look bad. I'm going to go after them.

and fixed
sorry rachael, if i did not think about it early but: a few minutes ago i used notepad++ search file function and also found these two other typos:

gzdoom\zscript\actors\inventory\powerups.zs (1 hit)
Line 958: Owner.Vel.Z = 4;; // thrust the player in the air a bit

gzdoom\zscript\ui\statscreen\statscreen.zs (1 hit)
Line 151: wrapwidth = wrapw == -1 ? width : wrapw;;

---
i tried to search in a detailed way, using *.*
and other than these two remaining typos i found no other programming code with that "problem"

Return to “Closed Bugs [GZDoom]”