[Fixed] Isn't this a little redundant? ;-)

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.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49252
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Isn't this a little redundant? ;-)

Post by Graf Zahl »

Code: Select all

		else if (arg0 > 0)
		{
			if (arg0 == 0)
			{
				arg0 = 1000000;
			}
			P_DamageMobj (it, NULL, NULL, arg0, MOD_UNKNOWN);
		}
Seen in LS_DamageThing in p_lnspec.cpp
User avatar
Eevee
Posts: 592
Joined: Wed Jul 16, 2003 5:26 am

Post by Eevee »

o.O I'd love to know how THAT happened...
User avatar
Virgil
Posts: 154
Joined: Sun Sep 28, 2003 10:01 pm

Post by Virgil »

Uhhh.. ... no comment.
User avatar
Chris
Posts: 3001
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

I've seen so much code like that it ain't funny. Luckilly any self-respecting compiler will optimize that away. Still, it does look ugly.
User avatar
Mundungu
Posts: 221
Joined: Thu Jul 24, 2003 7:12 pm

Post by Mundungu »

Come on guys, ugly code needs love just like any other code...
User avatar
Eevee
Posts: 592
Joined: Wed Jul 16, 2003 5:26 am

Post by Eevee »

Code: Select all

@P=split//,".URRUU\c8R";@d=split//,"\nrekcah xinU / lreP rehtona tsuJ";sub p{
@p{"r$p","u$p"}=(P,P);pipe"r$p","u$p";++$p;($q*=2)+=$f=!fork;map{$P=$P[$f^ord
($p{$_})&6];$p{$_}=/ ^$P/ix?$P:close$_}keys%p}p;p;p;p;p;map{$p{$_}=~/^[P.]/&&
close$_}%p;wait until$?;map{/^r/&&<$_>}%p;$_=$d[$q];sleep rand(2)if/\S/;print
You mean like that?
User avatar
cccp_leha
Posts: 1816
Joined: Wed Jul 16, 2003 7:21 am
Location: NJ, USA

Post by cccp_leha »

Oh gno, it's teh brainfuck derivative!!! :P
User avatar
Eevee
Posts: 592
Joined: Wed Jul 16, 2003 5:26 am

Post by Eevee »

Actually that's Perl :D
User avatar
cccp_leha
Posts: 1816
Joined: Wed Jul 16, 2003 7:21 am
Location: NJ, USA

Post by cccp_leha »

That is some seriousely fucked up Perl there my friend. :shock:
User avatar
Eevee
Posts: 592
Joined: Wed Jul 16, 2003 5:26 am

Post by Eevee »

Well, it's obfuscated Perl, which is almost a seperate language.

It prints out "Just another Perl / Unix hacker\n".
User avatar
randi
Site Admin
Posts: 7750
Joined: Wed Jul 09, 2003 10:30 pm

Post by randi »

Graf Zahl wrote:Isn't this a little redundant?
Yes, it is.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm

Post by Xaser »

HEH! YOU FAIL IT!!!
He really said:

[quote=Graf Zahl]Isn't this a little redundant? ;-)[/quote]

Oh, who am I kidding?
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

This coming from the guy who can't use [quote] properly.

Return to “Closed Bugs [GZDoom]”